diff options
| author | Vishal Moola (Oracle) <[email protected]> | 2022-08-23 17:40:17 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:26:02 -0700 |
| commit | 35b471467f88b8d8b52ba5b006a29b9d057d09bf (patch) | |
| tree | 49f30b16279c752b6f6749a38a29398deca91ace /tools/perf/scripts/python | |
| parent | 641608f36244eb01028c2b30a961c7242144d96a (diff) | |
filemap: add filemap_get_folios_contig()
Patch series "Convert to filemap_get_folios_contig()", v3.
This patch series replaces find_get_pages_contig() with
filemap_get_folios_contig().
This patch (of 7):
This function is meant to replace find_get_pages_contig().
Unlike find_get_pages_contig(), filemap_get_folios_contig() no longer
takes in a target number of pages to find - It returns up to 15 contiguous
folios.
To be more consistent with filemap_get_folios(),
filemap_get_folios_contig() now also updates the start index passed in,
and takes an end index.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vishal Moola (Oracle) <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: David Sterba <[email protected]>
Cc: Ryusuke Konishi <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: David Sterba <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions