WSL2-Linux-Kernel/kernel/futex
Matthew Wilcox (Oracle) 1b8ddbeeb9 mm/truncate: Inline invalidate_complete_page() into its one caller
invalidate_inode_page() is the only caller of invalidate_complete_page()
and inlining it reveals that the first check is unnecessary (because we
hold the page locked, and we just retrieved the mapping from the page).
Actually, it does make a difference, in that tail pages no longer fail
at this check, so it's now possible to remove a tail page from a mapping.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2022-03-21 12:59:01 -04:00
..
Makefile futex: Split out wait/wake 2021-10-07 13:51:11 +02:00
core.c mm/truncate: Inline invalidate_complete_page() into its one caller 2022-03-21 12:59:01 -04:00
futex.h futex: Remove futex_cmpxchg detection 2021-11-25 00:02:28 +01:00
pi.c futex: Split out PI futex 2021-10-07 13:51:09 +02:00
requeue.c futex: Split out requeue 2021-10-07 13:51:10 +02:00
syscalls.c futex: Remove futex_cmpxchg detection 2021-11-25 00:02:28 +01:00
waitwake.c futex: Implement sys_futex_waitv() 2021-10-07 13:51:11 +02:00