lkml.org 
[lkml]   [2005]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 04/15] Generic Mutex Subsystem, add-atomic-call-func-x86_64.patch

    * Nicolas Pitre <nico@cam.org> wrote:

    > > Please consider using (a variant of) xchg() instead. Although
    > > atomic_dec() is available on all architectures, its implementation is
    > > far from being the most efficient thing to do for them all.
    >
    > Actually, the best thing to do is to let the architecture do what is
    > the most efficient. [...]

    i have already added something similar. Furthermore, i have also
    eliminated the CMPXCHG requirement from MUTEX_FASTPATH, which should
    open ARM up to the generic lockless fastpath. (but you can still choose
    to reimplement it in the architecture) I'll send a new queue later
    today.

    Ingo
    -
    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: 2005-12-21 07:29    [W:2.500 / U:0.780 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site