lkml.org 
[lkml]   [2008]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 3/6] sched: make double-lock-balance fair
    Peter Zijlstra wrote:
    > On Wed, 2008-08-27 at 12:56 +0200, Nick Piggin wrote:
    >
    >
    >> BTW. I wonder about other architectures that are of interest to -rt? Like
    >> mips or arm perhaps... Any plans to implement ticket locks on those, or
    >> do they not tend to be used in SMP configurations on -rt yte?
    >>
    >
    > I think both are starting to show more and more SMP machines, so yes,
    > eventually we'll want ticket locks for them too.
    >
    > That said, I'm not aware of anyone working on it - I suppose we could
    > poke the regular arch maintainers.. Ralf, Russell ?
    >
    >
    As an aside: I have an implementation of C-based ticket lock
    replacements for raw_spinlock_t that I could post. I never posted them
    because I mostly care about x86 and Nick's solution is superior there
    since its hand-tuned asm. But mine could be used in places that have
    not yet written arch support but need FIFO. I basically have it as a
    config option to enable "generic fifo spinlocks" or something like that.

    -Greg

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2008-08-27 14:05    [W:3.832 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site