The patch titled Subject: mm-fix-is_pinnable_page-against-on-cma-page-v5-fix has been added to the -mm mm-unstable branch. Its filename is mm-fix-is_pinnable_page-against-on-cma-page-v5-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-fix-is_pinnable_page-against-on-cma-page-v5-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm 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/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Minchan Kim <minchan@xxxxxxxxxx> Subject: mm-fix-is_pinnable_page-against-on-cma-page-v5-fix fat finger Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx> Reviewed-by: John Hubbard <jhubbard@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mm.h | 1 + 1 file changed, 1 insertion(+) --- a/include/linux/mm.h~mm-fix-is_pinnable_page-against-on-cma-page-v5-fix +++ a/include/linux/mm.h @@ -1632,6 +1632,7 @@ static inline bool is_pinnable_page(stru * this routine races with set_pageblock_migratetype(), and we want to * avoid reading zero, when actually one or the other flags was set. */ + int __mt = get_pageblock_migratetype(page); int mt = __READ_ONCE(__mt); if (mt & (MIGRATE_CMA | MIGRATE_ISOLATE)) _ Patches currently in -mm which might be from minchan@xxxxxxxxxx are mm-fix-is_pinnable_page-against-on-cma-page.patch mm-fix-is_pinnable_page-against-on-cma-page-v5.patch mm-fix-is_pinnable_page-against-on-cma-page-v5-fix.patch mm-dont-be-stuck-to-rmap-lock-on-reclaim-path.patch