Why timer interrupt is disabled?

Herman Oosthuysen herman at wirelessnetworksinc.com
Fri May 25 13:06:11 EDT 2001


On Fri, 25 May 2001, David Woodhouse wrote:
> The kernel is not preemptively scheduled. Unless the first process 
> explicitly calls schedule(), it's not going to lose the CPU. Only processes 
> in user mode are scheduled from the timer IRQ.

Is it not dangerous to assume that the kernel is non-preemptive?
MTD is after all most likely to be used in a real-time system, which may very
well have a different scheduler from the common/garden variety Linux.

Cheers,
-- 
Herman Oosthuysen
Phone: 403+569-5687
E-mail: Herman at WirelessNetworksInc.com




More information about the linux-mtd mailing list