diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-03-31 21:10:39 +0100 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-04-28 15:26:27 +0000 |
| commit | 2525a784737b2fb7c23fe3d2efa21658100419e4 (patch) | |
| tree | e6471d0ef66f41f08d7ce0ed0c45f8917f4420db /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f2fs: Use a folio in f2fs_ra_meta_pages() (diff) | |
| download | linux-2525a784737b2fb7c23fe3d2efa21658100419e4.tar.gz linux-2525a784737b2fb7c23fe3d2efa21658100419e4.zip | |
f2fs: Use a folio in f2fs_ra_meta_pages_cond()
Remove a call to find_get_page(). Saves two hidden calls to
compound_head(). Change f2fs_folio_put() to check for IS_ERR_OR_NULL
to handle the case where we got an error pointer back from
filemap_get_folio().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
