diff options
author | Joonsoo Kim <js1304@gmail.com> | 2012-12-12 13:50:43 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 17:38:31 -0800 |
commit | 3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf (patch) | |
tree | b05abd7ad979dc4060c5e89e4078aa827e7efe82 /mm/hugetlb_cgroup.c | |
parent | 2d7a695604556913d9ef1ead47881b804d6c52b4 (diff) | |
download | linux-3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf.tar.bz2 |
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/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions