Re: [patch] preemptive kernel, preemptive-2.3.52-A7

From: Andrea Arcangeli (andrea@suse.de)
Date: Mon Mar 13 2000 - 20:34:09 EST


On Tue, 14 Mar 2000, Ingo Molnar wrote:

> [..] (This method differs from Andrea's
>similar 'all-inclusive' method by having a clean per-process counter.)

That's right, the the global per cpu array was a thinko and we really
_need_ the per-task info.

>i've also introduced a new light-weight 'IRQ-atomic' increment and
>decrement method in atomic.h, because ->may_preempt has to be
>local-IRQ-safe.

Could you describe which race you are talking about? I can't see any race
on such field.

>[..] is this what we want?

I think yes.

Andrea



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:33 EST