diff options
| author | Tal Zussman <tz2294@columbia.edu> | 2026-09-07 11:18:38 -0400 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2026-09-08 11:17:46 +0200 |
| commit | 12255a04ec331a9da0bf049ed48c92af57dfafae (patch) | |
| tree | 54d527129481e1918c1d0f7bbe1175addf1e4579 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 43de050fa4a31f7e7a73cf8974dcf6037e161a39 (diff) | |
| download | linux-12255a04ec331a9da0bf049ed48c92af57dfafae.tar.gz linux-12255a04ec331a9da0bf049ed48c92af57dfafae.zip | |
isofs: convert the zisofs read path to use folios
Store folios in the array that zisofs_read_folio() passes to
zisofs_fill_pages() and zisofs_uncompress_block(), use the folio APIs on
them, and grab the folios with __filemap_get_folio() instead of
grab_cache_page_nowait(). This removes six compound_head() calls, from
page_offset(), the three SetPageUptodate() calls, unlock_page() and
put_page(), and the last struct page usage in isofs.
isofs only uses order-0 folios, so folio_size() is PAGE_SIZE and the
logic is unchanged.
grab_cache_page_nowait() passed FGP_NOFS as well, but FGP_NOWAIT already
prevents reclaim entirely, so leave it out, as FGP_NOFS is on its way
out [1].
Change poffset to be unsigned int rather than just unsigned while at
it.
[1] https://lore.kernel.org/linux-mm/20260830041901.2668-9-willy@infradead.org/
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Link: https://patch.msgid.link/20260907-isofs-zisofs-folio-v2-1-c2e430abfcbc@columbia.edu
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
