diff options
author | Xu Yang <[email protected]> | 2024-05-21 19:49:38 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-05-24 13:34:06 +0200 |
commit | 79c137454815ba5554caa8eeb4ad5c94e96e45ce (patch) | |
tree | 38fc379b500250850b6d0193cd0dc860638530a1 /tools/perf/util/trace-event-scripting.c | |
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: [email protected]
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Xu Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ritesh Harjani (IBM) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions