The patch titled Subject: mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix has been added to the -mm tree. Its filename is mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Subject: mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix Use page_private and set_page_private helpers. Link: http://lkml.kernel.org/r/20171018101547.mjycw7zreb66jzpa@xxxxxxxxxxxxxxxxxxx Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx> Cc: Dave Chinner <david@xxxxxxxxxxxxx> Cc: Dave Hansen <dave.hansen@xxxxxxxxx> Cc: Jan Kara <jack@xxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN mm/page_alloc.c~mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix mm/page_alloc.c --- a/mm/page_alloc.c~mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix +++ a/mm/page_alloc.c @@ -2667,14 +2667,14 @@ void free_hot_cold_page_list(struct list pfn = page_to_pfn(page); if (!free_hot_cold_page_prepare(page, pfn)) list_del(&page->lru); - page->private = pfn; + set_page_private(page, pfn); } local_irq_save(flags); list_for_each_entry_safe(page, next, list, lru) { - unsigned long pfn = page->private; + unsigned long pfn = page_private(page); - page->private = 0; + set_page_private(page, 0); trace_mm_page_free_batched(page, cold); free_hot_cold_page_commit(page, pfn, cold); } _ Patches currently in -mm which might be from mgorman@xxxxxxxxxxxxxxxxxxx are mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages.patch mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix.patch mm-truncate-do-not-check-mapping-for-every-page-being-truncated.patch mm-truncate-remove-all-exceptional-entries-from-pagevec-under-one-lock.patch mm-only-drain-per-cpu-pagevecs-once-per-pagevec-usage.patch mm-pagevec-remove-cold-parameter-for-pagevecs.patch mm-remove-cold-parameter-for-release_pages.patch mm-remove-cold-parameter-from-free_hot_cold_page.patch mm-remove-__gfp_cold.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html