diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-02-14 17:21:32 -0500 |
---|---|---|
committer | Christoph Lameter <christoph@stapp.engr.sgi.com> | 2008-02-14 18:30:01 -0500 |
commit | b7a49f0d4c34166ae84089d9f145cfaae1b0eec5 (patch) | |
tree | 716bd20c8b920511f032a42be78c0a523a17565d /drivers/rapidio/rio.c | |
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>
Diffstat (limited to 'drivers/rapidio/rio.c')
0 files changed, 0 insertions, 0 deletions