diff options
author | Xu Yang <xu.yang_2@nxp.com> | 2024-05-21 19:49:38 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-05-24 13:34:06 +0200 |
commit | 79c137454815ba5554caa8eeb4ad5c94e96e45ce (patch) | |
tree | 38fc379b500250850b6d0193cd0dc860638530a1 /tools/perf/scripts/python/syscall-counts.py | |
parent | 2c6b531020f0590db3b6b4950a41c692e9aa4f4a (diff) |
filemap: add helper mapping_max_folio_size()
Add mapping_max_folio_size() to get the maximum folio size for this
pagecache mapping.
Fixes: 5d8edfb900d5 ("iomap: Copy larger chunks from userspace")
Cc: stable@vger.kernel.org
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20240521114939.2541461-1-xu.yang_2@nxp.com
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions