[lkml]   [2007]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH -mm] slub: update cpu after new_slab()
    On Wed, 25 Apr 2007, Hugh Dickins wrote:

    > SLUB gave me a NULL pointer dereference in slab_alloc(), in the
    > slab_lock(page) of its "Current cpuslab is acceptable" block: cpu
    > 1 had been looking at cpu_slab[2], which then went NULL beneath it.
    > Since new_slab() may reenable interrupts and sleep (when __GFP_WAIT),
    > we may get rescheduled on a different cpu: so need to reevaluate it.

    Right. local_irq_save does not switch off preemption as I thought.

    Acked-by: Christoph Lameter <>
    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-04-25 17:33    [W:0.040 / U:2.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site