patch-2.3.99-pre4 linux/kernel/sched.c

Next file: linux/mm/bootmem.c
Previous file: linux/kernel/panic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/kernel/sched.c linux/kernel/sched.c
@@ -405,6 +405,7 @@
  */
 static inline void __schedule_tail(struct task_struct *prev)
 {
+	current->need_resched |= prev->need_resched;
 #ifdef __SMP__
 	if ((prev->state == TASK_RUNNING) &&
 			(prev != idle_task(smp_processor_id()))) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)