git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dada123
)
slub: Determine gfpflags once and not every time a slab is allocated
author
Christoph Lameter
<clameter@sgi.com>
Thu, 14 Feb 2008 22:21:32 +0000
(14:21 -0800)
committer
Christoph Lameter
<christoph@stapp.engr.sgi.com>
Thu, 14 Feb 2008 23:30:01 +0000
(15:30 -0800)
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>
No differences found