The patch titled Subject: thp: make deferred_split_scan() work again has been added to the -mm tree. Its filename is thp-get-deferred_split_scan-work-again.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/thp-get-deferred_split_scan-work-again.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/thp-get-deferred_split_scan-work-again.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: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Subject: thp: make deferred_split_scan() work again We need to iterate over split_queue, not local empty list to get anything split from the shrinker. Fixes: e3ae19535c66 ("thp: limit number of object to scan on deferred_split_scan()") Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/huge_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/huge_memory.c~thp-get-deferred_split_scan-work-again mm/huge_memory.c --- a/mm/huge_memory.c~thp-get-deferred_split_scan-work-again +++ a/mm/huge_memory.c @@ -3482,7 +3482,7 @@ static unsigned long deferred_split_scan spin_lock_irqsave(&pgdata->split_queue_lock, flags); /* Take pin on all head pages to avoid freeing them under us */ - list_for_each_safe(pos, next, &list) { + list_for_each_safe(pos, next, &pgdata->split_queue) { page = list_entry((void *)pos, struct page, mapping); page = compound_head(page); if (get_page_unless_zero(page)) { _ Patches currently in -mm which might be from kirill.shutemov@xxxxxxxxxxxxxxx are mempolicy-do-not-try-to-queue-pages-from-vma_migratable.patch mm-downgrade-vm_bug-in-isolate_lru_page-to-warning.patch thp-get-deferred_split_scan-work-again.patch ipc-shm-handle-removed-segments-gracefully-in-shm_mmap.patch thp-cleanup-split_huge_page.patch mm-make-swapin-readahead-to-improve-thp-collapse-rate-fix.patch mm-make-swapin-readahead-to-improve-thp-collapse-rate-fix-2.patch mm-make-swapin-readahead-to-improve-thp-collapse-rate-fix-3.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