lkml.org 
[lkml]   [2000]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 13:57    [W:0.021 / U:0.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site