Re: [patch] voluntary-preempt-2.6.8-rc2-J3

Lee Revell
2004-07-30T03:50:50Z

On Thu, 2004-07-29 at 22:31, Eric St-Laurent wrote:
> It might be possible to eliminate the need_resched flag. Here is an
> article that talk about a event-driven preemption model.
>
> Quoting :
>
> Over the long term, MontaVista is investigating whether preemption locks
> can be eliminated (or at least greatly reduced in number) by protecting
> all the short-duration critical regions with spinlocks that also disable
> interrupts on the local CPU, and the long-duration critical regions with
> mutex locks.

This is a pretty old article, from 2000, describing the preemption model
they implemented on 2.4. I believe the above paragraph describes the
advantages of their model vs. the approach taken by the old 2.4 low
latency patches.

My understanding is that the preemptible 2.6 kernel already works this
way.

Lee