diff options
author | zijun_hu <zijun_hu@htc.com> | 2016-10-08 02:59:27 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-08 04:46:28 +0300 |
commit | 1d8bf926f8739bd35d054097907fef35d881e403 (patch) | |
tree | 52b11ecb43cb53737a43a4233e284e5f2af8fdb5 /include/linux/pagemap.h | |
parent | 2382705f22c1436a153800cf6051b08f0ea14838 (diff) | |
download | linux-1d8bf926f8739bd35d054097907fef35d881e403.tar.xz |
mm/bootmem.c: replace kzalloc() by kzalloc_node()
In ___alloc_bootmem_node_nopanic(), replace kzalloc() by kzalloc_node()
in order to allocate memory within given node preferentially when slab
is available
Link: http://lkml.kernel.org/r/1f487f12-6af4-5e4f-a28c-1de2361cdcd8@zoho.com
Signed-off-by: zijun_hu <zijun_hu@htc.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/pagemap.h')
0 files changed, 0 insertions, 0 deletions