lkml.org 
[lkml]   [2011]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 06/13] x86/ticketlock: add slowpath logic
    From
    On Thu, Sep 1, 2011 at 5:54 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
    > From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
    >
    > Maintain a flag in both LSBs of the ticket lock which indicates whether
    > anyone is in the lock slowpath and may need kicking when the current
    > holder unlocks.  The flags are set when the first locker enters
    > the slowpath, and cleared when unlocking to an empty queue.

    Are there actually two flags maintained? I only see the one in the
    ticket tail getting set/cleared/tested.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-09-02 20:49    [W:0.048 / U:1.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site