projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index 1d48f383e97d61fb25dd0cb07e3b4e2bb3d7895d..f426f9bc644b992fd12ec535ac8510b93682fe0c 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 */