diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-02-12 23:27:42 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-21 19:59:01 +0300 |
commit | 1b8ddbeeb9b819e62b7190115023ce858a159f5c (patch) | |
tree | 46665243b7be89ad71c6e56b1e8ae42923369a90 /tools/perf/scripts/python/sched-migration.py | |
parent | b9ccad2e5d385ceaa19b5c05cf69a09de02eb35a (diff) | |
download | linux-1b8ddbeeb9b819e62b7190115023ce858a159f5c.tar.xz |
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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions