Skip to contentSkip to conversation

ia64/smpboot: replace schedule_timeout() with

PATCH New Nishanth Aravamudan 1 participant 1 message Jan 17, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 13/21 ia64/smpboot: replace schedule_timeout() with

Hi,

Please consider applying.

Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected.

arch/ia64/kernel/smpboot.c +1 -2
@@ -612,8 +612,7 @@ void __cpu_die(unsigned int 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]
http://lists.osdl.org/mailman/listinfo/kernel-janitors