Re: scheduler ignores need_resched flag in 2.2.x and 2.3.x?

From: William Montgomery (william@opinicus.com)
Date: Wed Mar 22 2000 - 13:04:47 EST


On Wed, 22 Mar 2000 yodaiken@fsmlabs.com wrote:

> > I say again, the need_resched is _not_ lost. The whole issue is cleanly
> > resolved by referencing the proper "current" structure when need_resched
> > is set.
> >
> > Please read my previous posts on this thread.
>
> My question is why the last part of the scheduler needs to run with interrupts
> enabled.
>
It doesnt need to, it just isnt necessary to disable/spin_lock interrupts
at that time. Interrupts are only disabled when necessary, this keeps
interrupt latency low.

Wm

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



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:36 EST