[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1244649174.6165.0.camel@johannes.local>
Date: Wed, 10 Jun 2009 17:52:54 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Pekka Enberg <penberg@...helsinki.fi>
Cc: Larry Finger <Larry.Finger@...inger.net>,
David Rientjes <rientjes@...gle.com>,
Mel Gorman <mel@....ul.ie>, Rik van Riel <riel@...hat.com>,
"Rafael J. Wysocki" <rjw@...k.pl>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Kernel Testers List <kernel-testers@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Christoph Lameter <cl@...ux-foundation.org>, npiggin@...e.de,
yanmin.zhang@...ux.intel.com
Subject: Re: [Bug #13319] Page allocation failures with b43 and p54usb
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?
> + s->flags &= ~(SLAB_POISON|SLAB_RED_ZONE|SLAB_STORE_USER);
> +
> if (!calculate_sizes(s, -1))
> goto error;
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists