diff options
author | 2024-08-14 20:59:13 +0100 | |
---|---|---|
committer | 2024-08-19 13:40:00 +0200 | |
commit | 2da4c51a66cd633d9fc8feb3e98eaa5d9924fd45 (patch) | |
tree | 4b1364564f58ba2c8a926b5ab6b6d3baa761632a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | jffs2: Convert jffs2_do_readpage_nolock to take a folio (diff) | |
download | wireguard-linux-2da4c51a66cd633d9fc8feb3e98eaa5d9924fd45.tar.xz wireguard-linux-2da4c51a66cd633d9fc8feb3e98eaa5d9924fd45.zip |
jffs2: Use a folio in jffs2_garbage_collect_dnode()
Call read_cache_folio() instead of read_cache_page() to get the folio
containing the page. No attempt is made here to support large folios
as I assume that will never be interesting for jffs2. Includes a switch
from kmap to kmap_local which looks safe.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20240814195915.249871-3-willy@infradead.org
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions