Re: linux-next: build failure after merge of the final tree (slabtree related)

From: Pekka Enberg
Date: Wed Aug 25 2010 - 04:57:47 EST


On 8/25/10 11:18 AM, Tejun Heo wrote:
Hello,

On 08/24/2010 08:53 PM, Christoph Lameter wrote:
[ 0.000000] Kernel panic - not syncing: Cannot create slab kmem_cache
size=232 realsize=256 order=0 offset=0 flags=42000

alloc per cpu result in kmalloc which fails.

Tejon: Is there some way we could get a reserved per cpu area under UP
instead of fallback to slab allocations during bootup?

Eh... nasty. Maybe we can create a alloc_percpu_early() function
which doesn't allow freeing of allocate memory and just redirect to
bootmem on UP?

Yeah, I was thinking about that too.

Pekka


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/