aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2023-10-12 19:22:54 +0000
committerAndrew Morton <[email protected]>2023-10-18 21:34:19 +0000
commit76126332c7606ba25a4ae5db37145fd526985b45 (patch)
treec684151ef0c3837a45faf3a4190c8537dc9baeb4 /mm/filemap.c
parentmm/damon/sysfs-schemes: do not update tried regions more than one DAMON snapshot (diff)
downloadkernel-76126332c7606ba25a4ae5db37145fd526985b45.tar.gz
kernel-76126332c7606ba25a4ae5db37145fd526985b45.zip
mm/damon/sysfs: avoid empty scheme tried regions for large apply interval
DAMON_SYSFS assumes all schemes will be applied for at least one DAMON monitoring results snapshot within one aggregation interval, or makes no sense to wait for it while DAMON is deactivated by the watermarks. That for deactivated status still makes sense, but the aggregation interval based assumption is invalid now because each scheme can has its own apply interval. For schemes having larger than the aggregation or watermarks check interval, DAMOS tried regions update request can be finished without the update. Avoid the case by explicitly checking the status of the schemes tried regions update and watermarks based DAMON deactivation. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Cc: Jonathan Corbet <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions