diff options
author | Dave Chinner <[email protected]> | 2021-08-10 18:33:41 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2021-08-18 18:45:59 -0700 |
commit | 21b4ee7029c9072d410e15f64840659241ba8f4a (patch) | |
tree | e923f9bf7d1ad078c83b495f596fb16e3440c181 /tools/perf/scripts/python/libxed.py | |
parent | 33c0dd7898a11ef19169abe5c5049fa6aa099c64 (diff) |
xfs: drop ->writepage completely
->writepage is only used in one place - single page writeback from
memory reclaim. We only allow such writeback from kswapd, not from
direct memory reclaim, and so it is rarely used. When it comes from
kswapd, it is effectively random dirty page shoot-down, which is
horrible for IO patterns. We will already have background writeback
trying to clean all the dirty pages in memory as efficiently as
possible, so having kswapd interrupt our well formed IO stream only
slows things down. So get rid of xfs_vm_writepage() completely.
Signed-off-by: Dave Chinner <[email protected]>
[djwong: forward port to 5.15]
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions