diff options
| author | Jan Kara <jack@suse.cz> | 2024-06-25 12:18:56 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-03 19:30:27 -0700 |
| commit | 8eaf93ac70f3e1bbbe7e28a4f34289ef2d0d0bef (patch) | |
| tree | 41689fb0f64b5691d143fe7cd4fe193545402298 /tools/perf/scripts/python/task-analyzer.py | |
| parent | bb82ac31ddcedd6a1e6ee30b7afec7acdef811e1 (diff) | |
| download | linux-8eaf93ac70f3e1bbbe7e28a4f34289ef2d0d0bef.tar.gz linux-8eaf93ac70f3e1bbbe7e28a4f34289ef2d0d0bef.zip | |
readahead: drop dead code in page_cache_ra_order()
page_cache_ra_order() scales folio order down so that is fully fits within
readahead window. Thus the code handling the case where we walked past
the readahead window is a dead code. Remove it.
Link: https://lkml.kernel.org/r/20240625101909.12234-6-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Tested-by: Zhang Peng <zhangpengpeng0808@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
