diff options
author | Nadia Derbey <Nadia.Derbey@bull.net> | 2008-04-29 04:00:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:12 -0400 |
commit | 0c40ba4fd64f98e7a5cba8ffaedbd68642a85700 (patch) | |
tree | 8aba0ac7b89f436d73c1cf74058315aee8b6025f /mm | |
parent | 4d89dc6ab2711258bfd12c72d753f3ad56b244e2 (diff) |
ipc: define the slab_memory_callback priority as a constant
This is a trivial patch that defines the priority of slab_memory_callback in
the callback chain as a constant. This is to prepare for next patch in the
series.
Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Matt Helsley <matthltc@us.ibm.com>
Cc: Mingming Cao <cmm@us.ibm.com>
Cc: Pierre Peiffer <pierre.peiffer@bull.net>
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
@@ -2978,7 +2978,7 @@ void __init kmem_cache_init(void) | |||
2978 | kmalloc_caches[0].refcount = -1; | 2978 | kmalloc_caches[0].refcount = -1; |
2979 | caches++; | 2979 | caches++; |
2980 | 2980 | ||
2981 | hotplug_memory_notifier(slab_memory_callback, 1); | 2981 | hotplug_memory_notifier(slab_memory_callback, SLAB_CALLBACK_PRI); |
2982 | #endif | 2982 | #endif |
2983 | 2983 | ||
2984 | /* Able to allocate the per node structures */ | 2984 | /* Able to allocate the per node structures */ |