The patch titled Subject: mm-more-checks-on-free_pages_prepare-for-tail-pages-fix-2 has been added to the -mm tree. Its filename is mm-more-checks-on-free_pages_prepare-for-tail-pages-fix-2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-more-checks-on-free_pages_prepare-for-tail-pages-fix-2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-more-checks-on-free_pages_prepare-for-tail-pages-fix-2.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@xxxxxxxxxxxxx> Subject: mm-more-checks-on-free_pages_prepare-for-tail-pages-fix-2 Oops. I wanted this return code to be accounted into 'bad' in free_pages_prepare() instead. Incremental patch: Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/page_alloc.c~mm-more-checks-on-free_pages_prepare-for-tail-pages-fix-2 mm/page_alloc.c --- a/mm/page_alloc.c~mm-more-checks-on-free_pages_prepare-for-tail-pages-fix-2 +++ a/mm/page_alloc.c @@ -795,7 +795,7 @@ static bool free_pages_prepare(struct pa bad += free_pages_check(page); for (i = 1; i < (1 << order); i++) { if (compound) - free_tail_pages_check(page, page + i); + bad += free_tail_pages_check(page, page + i); bad += free_pages_check(page + i); } if (bad) _ Patches currently in -mm which might be from kirill@xxxxxxxxxxxxx are mm-replace-remap_file_pages-syscall-with-emulation.patch m68k-drop-_page_file-and-pte_file-related-helpers.patch mips-drop-_page_file-and-pte_file-related-helpers.patch mm-add-kpf_zero_page-flag-for-proc-kpageflags.patch mm-more-checks-on-free_pages_prepare-for-tail-pages-fix-2.patch do_shared_fault-check-that-mmap_sem-is-held.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