diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-10-16 10:26:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 18:43:01 +0200 |
commit | ea3061d227816d00717446ac12b853d7ae04b4fe (patch) | |
tree | fa63e359433ba09481d0c758cdf54c877b29e5f0 /mm | |
parent | SLUB: Optimize cacheline use for zeroing (diff) | |
download | linux-ea3061d227816d00717446ac12b853d7ae04b4fe.tar.xz linux-ea3061d227816d00717446ac12b853d7ae04b4fe.zip |
slub: list_locations() can use GFP_TEMPORARY
It's a short-lived allocation.
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c index 1d48f383e97d..f426f9bc644b 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -3285,7 +3285,7 @@ static int list_locations(struct kmem_cache *s, char *buf, int node; if (!alloc_loc_track(&t, PAGE_SIZE / sizeof(struct location), - GFP_KERNEL)) + GFP_TEMPORARY)) return sprintf(buf, "Out of memory\n"); /* Push back cpu slabs */ |