[lkml]   [2007]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [rfc 00/45] [RFC] CPU ops and a rework of per cpu data handling on x86_64

    > Although we have a per-cpu area base in a fixed global register
    > for addressing, the above isn't beneficial on sparc64 because
    > the atomic is much slower than doing a:
    > local_irq_disable();
    > nonatomic_percpu_memory_op();
    > local_irq_enable();

    Again might be pointing out the obvious, but you
    need of course save_flags()/restore_flags(), not disable/enable().

    If it was just disable/enable x86 could do it much faster too
    and Christoph probably would never felt the need to approach
    this project for his SLUB fast path.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-11-20 04:33    [W:0.030 / U:1.752 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site