mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Cc: Yasunori Goto <[email protected]> Cc: Matt Helsley <[email protected]> Cc: Mingming Cao <[email protected]> Cc: Pierre Peiffer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
4d89dc6ab2
commit
0c40ba4fd6
2 changed files with 7 additions and 1 deletions
|
|
@ -2978,7 +2978,7 @@ void __init kmem_cache_init(void)
|
|||
kmalloc_caches[0].refcount = -1;
|
||||
caches++;
|
||||
|
||||
hotplug_memory_notifier(slab_memory_callback, 1);
|
||||
hotplug_memory_notifier(slab_memory_callback, SLAB_CALLBACK_PRI);
|
||||
#endif
|
||||
|
||||
/* Able to allocate the per node structures */
|
||||
|
|
|
|||
Loading…
Reference in a new issue