it won't leak as in the UP case it only restores the flags, but it might
delay servicing interrupts unnecessarily. The obvious patch would be:
diff -urNp /img/linux-2.3.34/kernel/sched.c linux-2.3.34as/kernel/sched.c
--- /img/linux-2.3.34/kernel/sched.c Wed Dec 15 07:33:33 1999
+++ linux-2.3.34as/kernel/sched.c Mon Dec 27 16:05:30 1999
@@ -273,6 +261,7 @@ send_now:
tsk = cpu_curr(this_cpu);
if (preemption_goodness(tsk, p, this_cpu) > 0)
tsk->need_resched = 1;
+ spin_unlock_irqrestore(&runqueue_lock, flags);
#endif
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/