From: Tejun Heo Date: Wed, 16 Feb 2011 16:11:09 +0000 (+0100) Subject: x86-64, NUMA: make numa_cleanup_meminfo() prettier X-Git-Tag: v2.6.39-rc1~499^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e756be44714d0ec2f9827e4f4797c60876167a1;p=pandora-kernel.git x86-64, NUMA: make numa_cleanup_meminfo() prettier * Factor out numa_remove_memblk_from(). * Hole detection doesn't need separate start/end. Calculate start/end once. * Relocate comment. * Define iterators at the top and remove unnecessary prefix increments. This prepares for further improvements to the function. Signed-off-by: Tejun Heo Cc: Yinghai Lu Cc: Brian Gerst Cc: Cyrill Gorcunov Cc: Shaohui Zheng Cc: David Rientjes Cc: Ingo Molnar Cc: H. Peter Anvin --- Reading git-diff-tree failed