The patch titled Subject: mm/filemap.c: remove useless check in pagecache_get_page() has been added to the -mm tree. Its filename is mm-remove-useless-check-in-pagecache_get_page.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-remove-useless-check-in-pagecache_get_page.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-remove-useless-check-in-pagecache_get_page.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/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Kirill Tkhai <ktkhai@xxxxxxxxxxxxx> Subject: mm/filemap.c: remove useless check in pagecache_get_page() page always is not NULL, so we may remove this useless check. Link: http://lkml.kernel.org/r/154419752044.18559.2452963074922917720.stgit@localhost.localdomain Signed-off-by: Kirill Tkhai <ktkhai@xxxxxxxxxxxxx> Acked-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/filemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/filemap.c~mm-remove-useless-check-in-pagecache_get_page +++ a/mm/filemap.c @@ -1601,7 +1601,7 @@ repeat: VM_BUG_ON_PAGE(page->index != offset, page); } - if (page && (fgp_flags & FGP_ACCESSED)) + if (fgp_flags & FGP_ACCESSED) mark_page_accessed(page); no_page: _ Patches currently in -mm which might be from ktkhai@xxxxxxxxxxxxx are ksm-assist-buddy-allocator-to-assemble-1-order-pages.patch mm-remove-useless-check-in-pagecache_get_page.patch