Messages in this thread | | | Date | Tue, 14 Mar 2000 02:34:09 +0100 (CET) | From | Andrea Arcangeli <> | Subject | Re: [patch] preemptive kernel, preemptive-2.3.52-A7 |
| |
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
- 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/
| |