]> err.no Git - linux-2.6/commit
[PATCH] vmalloc(): don't pass __GFP_ZERO to slab
authorAndrew Morton <akpm@osdl.org>
Tue, 17 Oct 2006 07:09:57 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:44 +0000 (08:18 -0700)
commit286e1ea3ac1ca4f503ebbb3020bdb0cbe6adffac
treeb8e332d7aa9a64d6fe49501deb3ac5a18a708f3f
parentc430169e0c9f42f2cd27e0a6161e7ff4dc7e608d
[PATCH] vmalloc(): don't pass __GFP_ZERO to slab

A recent change to the vmalloc() code accidentally resulted in us passing
__GFP_ZERO into the slab allocator.  But we only wanted __GFP_ZERO for the
actual pages whcih are being vmalloc()ed, and passing __GFP_ZERO into slab is
not a rational thing to ask for.

Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmalloc.c