|
@@ -390,8 +390,10 @@ void __init page_ext_init(void)
|
|
* We know some arch can have a nodes layout such as
|
|
* We know some arch can have a nodes layout such as
|
|
* -------------pfn-------------->
|
|
* -------------pfn-------------->
|
|
* N0 | N1 | N2 | N0 | N1 | N2|....
|
|
* N0 | N1 | N2 | N0 | N1 | N2|....
|
|
|
|
+ *
|
|
|
|
+ * Take into account DEFERRED_STRUCT_PAGE_INIT.
|
|
*/
|
|
*/
|
|
- if (pfn_to_nid(pfn) != nid)
|
|
|
|
|
|
+ if (early_pfn_to_nid(pfn) != nid)
|
|
continue;
|
|
continue;
|
|
if (init_section_page_ext(pfn, nid))
|
|
if (init_section_page_ext(pfn, nid))
|
|
goto oom;
|
|
goto oom;
|