diff options
author | Tejun Heo <tj@kernel.org> | 2011-07-12 10:46:29 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-07-14 20:45:30 +0200 |
commit | 96e907d1360240d1958fe8ce3a3ac640733330d4 (patch) | |
tree | ac1fec297f9b6d620a76dc0cd0476b74bc628a95 /net/rxrpc | |
parent | bootmem: Replace work_with_active_regions() with for_each_mem_pfn_range() (diff) | |
download | linux-96e907d1360240d1958fe8ce3a3ac640733330d4.tar.xz linux-96e907d1360240d1958fe8ce3a3ac640733330d4.zip |
bootmem: Reimplement __absent_pages_in_range() using for_each_mem_pfn_range()
__absent_pages_in_range() was needlessly complex. Reimplement it
using for_each_mem_pfn_range().
Also, update zone_absent_pages_in_node() such that it doesn't call
__absent_pages_in_range() with @zone_start_pfn which is larger than
@zone_end_pfn.
Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1310460395-30913-3-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 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions