lkml.org 
[lkml]   [2007]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 1/4] x86: FIFO ticket spinlocks


    On Fri, 2 Nov 2007, Chuck Ebbert wrote:
    >
    > There's also a very easy way to get better fairness with our current spinlocks:
    > use xchg to release the lock instead of mov.

    That does nothing at all.

    Yes, it slows the unlock down, which in turn on some machines will make it
    easier for another core/socket to get it, but it's purely about the
    slowdown, nothing else.

    Linus
    -
    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: 2007-11-02 17:55    [W:0.026 / U:2.004 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site