OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a9fdb
)
slub: list_locations() can use GFP_TEMPORARY
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 16 Oct 2007 08:26:09 +0000
(
01:26
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:01 +0000
(09:43 -0700)
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>
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index
1d48f38
..
f426f9b
100644
(file)
--- 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 */