diff options
| author | Christoph Lameter <clameter@sgi.com> | 2008-02-14 14:21:32 -0800 |
|---|---|---|
| committer | Christoph Lameter <christoph@stapp.engr.sgi.com> | 2008-02-14 15:30:01 -0800 |
| commit | b7a49f0d4c34166ae84089d9f145cfaae1b0eec5 (patch) | |
| tree | 716bd20c8b920511f032a42be78c0a523a17565d /lib/vsprintf.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 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions
