[PATCH] slab: remove alloc_pages() calls
authorChristoph Lameter <clameter@engr.sgi.com>
Mon, 14 Nov 2005 00:06:47 +0000 (16:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:12 +0000 (18:14 -0800)
commit50c85a19e7b3928b5b5188524c44ffcbacdd4e35
treea886792eba2e11615c3846bc6b1c77c41ce6dda0
parent065d41cb269e9debb18c6d5052e4de1088ae3d8f
[PATCH] slab: remove alloc_pages() calls

The slab allocator never uses alloc_pages since kmem_getpages() is always
called with a valid nodeid.  Remove the branch and the code from
kmem_getpages()

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c