summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-02-21 20:39:29 +0000
committerChristian Brauner <brauner@kernel.org>2025-02-24 11:41:43 +0100
commit12851bd921d429c60578b90916fc220b60757c34 (patch)
tree26a17d55b57d8753d31f8e426e8b4a12db57efda /tools/perf/scripts/python/exported-sql-viewer.py
parentd1c735d44c12544cea9b04ca88d65c12892c0539 (diff)
fs: Turn page_offset() into a wrapper around folio_pos()
This is far less efficient for the lagging filesystems which still use page_offset(), but it removes an access to page->index. It also fixes a bug -- if any filesystem passed a tail page to page_offset(), it would return garbage which might result in the filesystem choosing to not writeback a dirty page. There probably aren't any examples of this, but I can't be certain. Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org> Link: https://lore.kernel.org/r/20250221203932.3588740-1-willy@infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions