mm/bootmem.c: replace kzalloc() by kzalloc_node()
authorzijun_hu <zijun_hu@htc.com>
Sat, 10 Sep 2016 10:34:11 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:11 +0000 (20:34 +1000)
commit8b06b83062dd4f03e45dc2d35c66aeb56895c1a4
tree4082c7f318181a2f2fb0f4b8cc994aaed98f9bc7
parent757fff20a940059b582c0f7ff098828391a43da8
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>
mm/bootmem.c
This page took 0.024804 seconds and 5 git commands to generate.