1
0
Fork 0

KVM: arm/arm64: disable preemption when calling smp_call_function_many

Preemption must be disabled when calling smp_call_function_many

Reported-by: bartosz.wawrzyniak@tieto.com
Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
hifive-unleashed-5.1
Eric Auger 2016-03-07 23:50:36 +07:00 committed by Christoffer Dall
parent 643ad15d47
commit 898f949fb7
1 changed files with 2 additions and 0 deletions

View File

@ -373,7 +373,9 @@ static void exit_vm_noop(void *info)
void force_vm_exit(const cpumask_t *mask)
{
preempt_disable();
smp_call_function_many(mask, exit_vm_noop, NULL, true);
preempt_enable();
}
/**