projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607bf32
)
slub: Use NUMA_NO_NODE in get_partial
author
Christoph Lameter
<cl@linux.com>
Fri, 15 Apr 2011 19:48:12 +0000
(14:48 -0500)
committer
Pekka Enberg
<penberg@kernel.org>
Sun, 17 Apr 2011 11:03:19 +0000
(14:03 +0300)
A -1 was leftover during the conversion.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index 129f10cdfc59de79c905c19748c39275b976c3ca..5284fb779670f94496d002e920f0b650573f8f65 100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-1487,7
+1487,7
@@
static struct page *get_partial(struct kmem_cache *s, gfp_t flags, int node)
int searchnode = (node == NUMA_NO_NODE) ? numa_node_id() : node;
page = get_partial_node(get_node(s, searchnode));
- if (page || node !=
-1
)
+ if (page || node !=
NUMA_NO_NODE
)
return page;
return get_any_partial(s, flags);