lkml.org 
[lkml]   [2009]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [Bug #13319] Page allocation failures with b43 and p54usb
    From
    Date
    On Wed, 2009-06-10 at 17:52 +0200, Johannes Berg wrote:
    > On Wed, 2009-06-10 at 18:49 +0300, Pekka Enberg wrote:
    > > On Wed, 2009-06-10 at 18:44 +0300, Pekka Enberg wrote:
    > >
    > > > Aha, SLUB thinks the minimum order for 4096 is 1. I guess you have
    > > > CONFIG_SLUB_DEBUG enabled? If yes, something like to following should
    > > > help. Christoph, are you okay with this patch?
    >
    >
    > > + if ((size + MAX_DEBUG_SIZE) >= PAGE_SIZE)
    >
    > && size <= PAGE_SIZE
    >
    > ? Or is this a path that only happens for small allocations?

    Anything that's beyond PAGE_SIZE * 2 is passed straight to the page
    allocator and the intent of this patch is to disable debugging for all
    big caches like SLAB does.

    Pekka



    \
     
     \ /
      Last update: 2009-06-10 18:09    [W:0.023 / U:0.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site