diff options
author | Tejun Heo <[email protected]> | 2011-07-12 10:46:29 +0200 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2011-07-14 11:45:30 -0700 |
commit | 96e907d1360240d1958fe8ce3a3ac640733330d4 (patch) | |
tree | ac1fec297f9b6d620a76dc0cd0476b74bc628a95 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5dfe8660a3d7f1ee1265c3536433ee53da3f98a3 (diff) |
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: Yinghai Lu <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions