diff options
author | zijun_hu <zijun_hu@htc.com> | 2016-10-07 16:59:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-07 18:46:28 -0700 |
commit | 1d8bf926f8739bd35d054097907fef35d881e403 (patch) | |
tree | 52b11ecb43cb53737a43a4233e284e5f2af8fdb5 /mm/page-writeback.c | |
parent | 2382705f22c1436a153800cf6051b08f0ea14838 (diff) | |
download | op-kernel-dev-1d8bf926f8739bd35d054097907fef35d881e403.zip op-kernel-dev-1d8bf926f8739bd35d054097907fef35d881e403.tar.gz |
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 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions