commit | b7a49f0d4c34166ae84089d9f145cfaae1b0eec5 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <clameter@sgi.com> | Thu Feb 14 14:21:32 2008 -0800 |
committer | Christoph Lameter <christoph@stapp.engr.sgi.com> | Thu Feb 14 15:30:01 2008 -0800 |
tree | 716bd20c8b920511f032a42be78c0a523a17565d | |
parent | dada123d99c241d1a45798a7c77bcf99c4968704 [diff] |
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 <mel@csn.ul.ie> Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Christoph Lameter <clameter@sgi.com>