diff options
author | Tejun Heo <tj@kernel.org> | 2011-07-12 12:46:33 +0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-07-14 22:45:34 +0400 |
commit | 34e1845548418e5cecee0568ba721e1f089c092c (patch) | |
tree | 85e9cafe7a9184fc0f5efd77964f1df04239c89f /lib/ioremap.c | |
parent | f9b18db3b1cedc75e5d002a4d7097891c3399736 (diff) | |
download | linux-34e1845548418e5cecee0568ba721e1f089c092c.tar.xz |
memblock: Make memblock_alloc_[try_]nid() top-down
NUMA aware memblock alloc functions - memblock_alloc_[try_]nid() -
weren't properly top-down because memblock_nid_range() scanned
forward. This patch reverses memblock_nid_range(), renames it to
memblock_nid_range_rev() and updates related functions to implement
proper top-down allocation.
Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1310460395-30913-7-git-send-email-tj@kernel.org
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions