]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/damon/schemes: account how many times quota limit has exceeded
authorSeongJae Park <sj@kernel.org>
Fri, 14 Jan 2022 22:10:20 +0000 (14:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:33 +0000 (16:30 +0200)
commit6268eac34ca30af7f6313504d556ec7fcd295621
tree72c90a1ea6f1e7ea3f39a7bacc0e4bb64d4c2411
parent0e92c2ee9f459542c5384d9cfab24873c3dd6398
mm/damon/schemes: account how many times quota limit has exceeded

If the time/space quotas of a given DAMON-based operation scheme is too
small, the scheme could show unexpectedly slow progress.  However, there
is no good way to notice the case in runtime.  This commit extends the
DAMOS stat to provide how many times the quota limits exceeded so that
the users can easily notice the case and tune the scheme.

Link: https://lkml.kernel.org/r/20211210150016.35349-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/damon.h
mm/damon/core.c