summaryrefslogtreecommitdiff
path: root/include/linux/memblock.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-07-12 10:46:33 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2011-07-14 11:45:34 -0700
commit34e1845548418e5cecee0568ba721e1f089c092c (patch)
tree85e9cafe7a9184fc0f5efd77964f1df04239c89f /include/linux/memblock.h
parentf9b18db3b1cedc75e5d002a4d7097891c3399736 (diff)
downloadlwn-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