[lkml]   [2011]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [cpuops cmpxchg double V3 0/5] this_cpu_cmpxchg_double support
    On Fri, Feb 25, 2011 at 11:38:50AM -0600, Christoph Lameter wrote:
    > This patch series introduces this_cpu_cmpxchg_double().
    > x86 cpus support cmpxchg16b and cmpxchg8b instuction which are capable of
    > switching two words instead of one during a cmpxchg.
    > Two words allow to swap more state in an atomic instruction.
    > this_cpu_cmpxchg_double() is used in the slub allocator to avoid
    > interrupt disable/enable in both alloc and free fastpath.
    > Using the new operation significantly speeds up the fastpaths.

    Pekka, Christoph, I applied the third and fifth patches to the percpu
    tree. Please feel free to pull from the following branch and apply
    slub changes on top of it.

    git:// for-2.6.39

    HEAD is b9ec40af0e18fb7d02106be148036c2ea490fdf9. As git.korg seems a
    bit slow to sync these days, it may be better to pull from

    ssh:// for-2.6.39

    Thank you.


     \ /
      Last update: 2011-02-28 11:39    [W:0.021 / U:11.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site