diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-04-28 08:20:48 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-16 15:49:52 -0500 |
commit | 431c0566bb60780238534dc1fdd709acca1d0795 (patch) | |
tree | 68ab9e62b90b087f1fb0506b61a9a98e0a6db6f6 /tools/perf/scripts/python/sched-migration.py | |
parent | 8ffd74e9a8161df544ce63b49a5a092bcb18f8e6 (diff) |
iomap: Use folio offsets instead of page offsets
Pass a folio around instead of the page, and make sure the offset
is relative to the start of the folio instead of the start of a page.
Also use size_t for offset & length to make it clear that these are byte
counts, and to support >2GB folios in the future.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions