From: Christoph Lameter Date: Thu, 14 Feb 2008 22:21:32 +0000 (-0800) Subject: slub: Determine gfpflags once and not every time a slab is allocated X-Git-Tag: v2.6.25-rc2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7a49f0d4c34166ae84089d9f145cfaae1b0eec5;p=pandora-kernel.git slub: Determine gfpflags once and not every time a slab is allocated Currently we determine the gfp flags to pass to the page allocator each time a slab is being allocated. Determine the bits to be set at the time the slab is created. Store in a new allocflags field and add the flags in allocate_slab(). Acked-by: Mel Gorman Reviewed-by: Pekka Enberg Signed-off-by: Christoph Lameter --- Reading git-diff-tree failed