]> Git Repo - linux.git/commit
mm: convert find_get_entry to return the head page
authorMatthew Wilcox (Oracle) <[email protected]>
Tue, 13 Oct 2020 23:51:34 +0000 (16:51 -0700)
committerLinus Torvalds <[email protected]>
Wed, 14 Oct 2020 01:38:29 +0000 (18:38 -0700)
commita6de4b4873e1e352f5029b0f5b3c347427d74ab4
treee2ec202673fae7a9f7c5f1ccd87aeb8d9577be2a
parent9dfc8ff34b951f83632815a87e97a625a11360f0
mm: convert find_get_entry to return the head page

There are only four callers remaining of find_get_entry().
get_shadow_from_swap_cache() only wants to see shadow entries and doesn't
care about which page is returned.  Push the find_subpage() call into
find_lock_entry(), find_get_incore_page() and pagecache_get_page().

[[email protected]: fix oops]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Huang Ying <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: William Kucharski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
mm/filemap.c
mm/swap_state.c
This page took 0.051416 seconds and 4 git commands to generate.