diff options
| author | Minjie Du <[email protected]> | 2023-11-07 10:46:34 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:35 -0800 |
| commit | 8ff252663d30f5c0bcb0bb336c1a5ed7c37d9730 (patch) | |
| tree | 1983f06a0157fa27708b00731b3e00cd415faa47 /tools/perf/scripts/python | |
| parent | 4eca0ef49af9b2b0c52ef2b58e045ab34629796b (diff) | |
mm/filemap: increase usage of folio_next_index() helper
Simplify code pattern of 'folio->index + folio_nr_pages(folio)' by using
the existing helper folio_next_index() in filemap_get_folios_contig().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Minjie Du <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions