slob: fix gfp flags for order-0 page allocations
authorDavid Rientjes <rientjes@google.com>
Sun, 22 Aug 2010 23:16:06 +0000 (16:16 -0700)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:24:28 +0000 (10:24 +0300)
commit8df275af8db8220d7e3f1bf97b6ac7aad05f96f0
tree7f61075da7730d615724e791f6d63e193443bb76
parentc1d508365ea07f9f8849c7da5b02186601570f8b
slob: fix gfp flags for order-0 page allocations

kmalloc_node() may allocate higher order slob pages, but the __GFP_COMP
bit is only passed to the page allocator and not represented in the
tracepoint event.  The bit should be passed to trace_kmalloc_node() as
well.

Acked-by: Matt Mackall <mpm@selenic.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slob.c