mm: Extend gfp masking to the page allocator
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 18 Jun 2009 03:24:12 +0000 (13:24 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:12:57 +0000 (13:12 -0700)
commitdcce284a259373f9e5570f2e33f79eca84fcf565
treeafc4b23208974f17c080ea3d2ecfbaca4254c010
parent9729a6eb5878a3daa18395f2b5fb38bf9359a761
mm: Extend gfp masking to the page allocator

The page allocator also needs the masking of gfp flags during boot,
so this moves it out of slab/slub and uses it with the page allocator
as well.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h
init/main.c
mm/page_alloc.c
mm/slab.c
mm/slub.c