[lkml]   [2010]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/4, v2] x86: enlightenment for ticket spin locks - base implementation
    >>> On 30.06.10 at 13:48, Peter Zijlstra <> wrote:
    > On Wed, 2010-06-30 at 12:43 +0100, Jan Beulich wrote:
    >> It does tickle just the new owner - that's what the list is for.
    > But if you have a FIFO list you don't need the ticket stuff and can
    > implement a FIFO lock instead.

    The list is LIFO (not FIFO, as only the most recently added entry is
    a candidate for needing wakeup as long as there's no interrupt
    re-enabling in irqsave lock paths), and is only used for tickling (not
    for deciding who's going to be the next owner).


     \ /
      Last update: 2010-06-30 13:57    [W:0.019 / U:1.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site