question about spin_lock_irqsave

mathijs (mathijs@knoware.nl)
Mon, 27 Dec 1999 13:33:08 +0100 (CET)


Hi,

I noticed something "funny". In wake_up_process (kernel/sched.c
line 324, 2.3.34) reschedule_idle is called after doing a
spin_lock_irqsave. In reschedule_idle, every exit has an spin_unlock_irqrestore.
Except when the kernel is compiled without __SMP__. In this case, no unlock is
preformed.

Will this not leak on the stack? What am i missing?

me

-
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/