patch-2.4.0-test7 linux/kernel/sched.c

Next file: linux/kernel/signal.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/kernel/sched.c linux/kernel/sched.c
@@ -247,7 +247,7 @@
 	 * one will have the least active cache context.) Also find
 	 * the executing process which has the least priority.
 	 */
-	oldest_idle = -1ULL;
+	oldest_idle = (cycles_t) -1;
 	target_tsk = NULL;
 	max_prio = 1;
 
@@ -454,7 +454,6 @@
  */
 static inline void __schedule_tail(struct task_struct *prev)
 {
-	current->need_resched |= prev->need_resched;
 #ifdef CONFIG_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)