Ingo Molnar wrote: > > On Wed, 24 Jul 2002, Christoph Hellwig wrote: > > > > - move the irqs-off check into preempt_schedule() and remove > > > CONFIG_DEBUG_IRQ_SCHEDULE. > > > > the config.in entry is still present.. > > indeed. Fix is in -H5: We need to verify correct usage of the irq_enable/irq_restore() least we miss a preemption. The attached patch allows one to enable a test on the these macros to verify that they are being correctly used. Ingo, I am not sure about the change in fork.c. Don't we always want to check for preemption at the end of this irq_disable? Patch is against Ingo's H6. -- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Real time sched: http://sourceforge.net/projects/rtsched/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml