x86_64/smpboot: use msleep() instead of
PATCH 5/14 x86_64/smpboot: use msleep() instead of
From: Nishanth Aravamudan <[email protected]>
Description: Replace schedule_timeout() with msleep() to guarantee the task delays as expected.
Signed-off-by Nishanth Aravamudan <[email protected]>
---
smpboot.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-)
arch/x86_64/kernel/smpboot.c +1 -2
@@ -1189,8 +1189,7 @@ void __cpu_die(unsigned int cpu)printk ("CPU %d is now offline\n" , cpu);return ; } - current->state =TASK_UNINTERRUPTIBLE ; -schedule_timeout (HZ /10 ); +msleep (100 ); }printk (KERN_ERR "CPU %u didn't die...\n" , cpu); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors