diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-02-15 07:36:45 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-23 17:48:37 -0800 |
| commit | 535c5d9dadb327bb35f6d780fa037e0d3dfcb568 (patch) | |
| tree | 6d66ab2d14acb02dc2469d5807e05e786a80ee9f /tools/perf/scripts/python | |
| parent | 807d1fe36077decf6f4ef8d4b63a084760a5c5fc (diff) | |
pagevec: add ability to iterate a queue
Add a loop counter inside the folio_batch to let us iterate from 0-nr
instead of decrementing nr and treating the batch as a stack. It would
generate some very weird and suboptimal I/O patterns for page writeback to
iterate over the batch as a stack.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Acked-by: Dave Chinner <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions