SLUB: Fix early boot GFP_DMA allocations
authorNick Piggin <npiggin@suse.de>
Mon, 15 Jun 2009 10:35:10 +0000 (13:35 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 15 Jun 2009 10:55:26 +0000 (13:55 +0300)
commit964cf35c88f93b4927dbc4e950dfa4d880c7f9d1
treea5be2d66c2a53e9483007f7581bb5170f50d6ff7
parent45e3e1935e2857c54783291107d33323b3ef33c8
SLUB: Fix early boot GFP_DMA allocations

Recent change to use slab allocations earlier exposed a bug where
SLUB can call schedule_work and try to call sysfs before it is
safe to do so.

Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Tested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c