summaryrefslogtreecommitdiffstats
path: root/usr/Kconfig
diff options
context:
space:
mode:
authorMel Gorman <mel@csn.ul.ie>2007-02-10 10:42:57 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 19:51:17 +0100
commita6af2bc3d5ce8722b9d09c5bdd5383c91c419653 (patch)
treed4af36e83f25d84979584b670b692068eb2b5a56 /usr/Kconfig
parent[PATCH] Remove final references to deprecated "MAP_ANON" page protection flag (diff)
downloadlinux-a6af2bc3d5ce8722b9d09c5bdd5383c91c419653.tar.xz
linux-a6af2bc3d5ce8722b9d09c5bdd5383c91c419653.zip
[PATCH] Avoid excessive sorting of early_node_map[]
find_min_pfn_for_node() and find_min_pfn_with_active_regions() sort early_node_map[] on every call. This is an excessive amount of sorting and that can be avoided. This patch always searches the whole early_node_map[] in find_min_pfn_for_node() instead of returning the first value found. The map is then only sorted once when required. Successfully boot tested on a number of machines. [akpm@osdl.org: cleanup] Signed-off-by: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr/Kconfig')
0 files changed, 0 insertions, 0 deletions