summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorJoonsoo Kim2012-12-12 22:50:43 +0100
committerLinus Torvalds2012-12-13 02:38:31 +0100
commit3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf (patch)
treeb05abd7ad979dc4060c5e89e4078aa827e7efe82 /mm/huge_memory.c
parentbootmem: remove not implemented function call, bootmem_arch_preferred_node() (diff)
downloadkernel-qcow2-linux-3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf.tar.gz
kernel-qcow2-linux-3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf.tar.xz
kernel-qcow2-linux-3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf.zip
bootmem: remove alloc_arch_preferred_bootmem()
The name of this function is not suitable, and removing the function and open-coding it into each call sites makes the code more understandable. Additionally, we shouldn't do an allocation from bootmem when slab_is_available(), so directly return kmalloc()'s return value. Signed-off-by: Joonsoo Kim <js1304@gmail.com> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions