diff options
author | 2022-02-12 15:27:42 -0500 | |
---|---|---|
committer | 2022-03-21 12:59:01 -0400 | |
commit | 1b8ddbeeb9b819e62b7190115023ce858a159f5c (patch) | |
tree | 46665243b7be89ad71c6e56b1e8ae42923369a90 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | splice: Use a folio in page_cache_pipe_buf_try_steal() (diff) | |
download | wireguard-linux-1b8ddbeeb9b819e62b7190115023ce858a159f5c.tar.xz wireguard-linux-1b8ddbeeb9b819e62b7190115023ce858a159f5c.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions