diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-02-12 17:15:33 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-02-12 17:15:33 -0800 |
commit | 1f947a7a011fcceb14cb912f5481a53b18f1879a (patch) | |
tree | 0c93fdd4b114af154ffbacd105b8f6775157a5be /mm/page_ext.c | |
parent | 991b9eb4243b53e6dcaeda94e515d713ca7ddd2e (diff) | |
parent | 27dd768ed8db48beefc4d9e006c58e7a00342bde (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge fixes from Andrew Morton:
"6 fixes"
* emailed patches from Andrew Morton <akpm@linux-foundation.org>:
mm: proc: smaps_rollup: fix pss_locked calculation
Rename include/{uapi => }/asm-generic/shmparam.h really
Revert "mm: use early_pfn_to_nid in page_ext_init"
mm/gup: fix gup_pmd_range() for dax
Revert "mm: slowly shrink slabs with a relatively small number of objects"
Revert "mm: don't reclaim inodes with many attached pages"
Diffstat (limited to 'mm/page_ext.c')
-rw-r--r-- | mm/page_ext.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/page_ext.c b/mm/page_ext.c index ae44f7adbe07..8c78b8d45117 100644 --- a/mm/page_ext.c +++ b/mm/page_ext.c @@ -398,10 +398,8 @@ void __init page_ext_init(void) * We know some arch can have a nodes layout such as * -------------pfn--------------> * N0 | N1 | N2 | N0 | N1 | N2|.... - * - * Take into account DEFERRED_STRUCT_PAGE_INIT. */ - if (early_pfn_to_nid(pfn) != nid) + if (pfn_to_nid(pfn) != nid) continue; if (init_section_page_ext(pfn, nid)) goto oom; |