On Tue, Aug 25, 2015 at 12:01 PM, Yinghai Lu <ying...@kernel.org> wrote: >> It does ... but this (attached) is simpler. Your patch and mine both >> allow the system to boot ... > > The version that fix with section_nr present checking may save couple > thousands > calling to get_nid_for_pfn(). section size / page_size = 128M/4k = 32k
Actually saves about 1.2 million calls. Your patch wins :-) Reported-and-tested-by: Tony Luck <tony.l...@intel.com> -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/