]> Git Repo - linux.git/commit
bootmem: Reimplement __absent_pages_in_range() using for_each_mem_pfn_range()
authorTejun Heo <[email protected]>
Tue, 12 Jul 2011 08:46:29 +0000 (10:46 +0200)
committerH. Peter Anvin <[email protected]>
Thu, 14 Jul 2011 18:45:30 +0000 (11:45 -0700)
commit96e907d1360240d1958fe8ce3a3ac640733330d4
treeac1fec297f9b6d620a76dc0cd0476b74bc628a95
parent5dfe8660a3d7f1ee1265c3536433ee53da3f98a3
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]>
mm/page_alloc.c
This page took 0.04713 seconds and 4 git commands to generate.