diff options
author | Tejun Heo <tj@kernel.org> | 2011-07-12 10:46:33 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-07-14 11:45:34 -0700 |
commit | 34e1845548418e5cecee0568ba721e1f089c092c (patch) | |
tree | 85e9cafe7a9184fc0f5efd77964f1df04239c89f /include/linux/memblock.h | |
parent | f9b18db3b1cedc75e5d002a4d7097891c3399736 (diff) | |
download | lwn-34e1845548418e5cecee0568ba721e1f089c092c.tar.gz lwn-34e1845548418e5cecee0568ba721e1f089c092c.zip |
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 'include/linux/memblock.h')
0 files changed, 0 insertions, 0 deletions