]> git.baikalelectronics.ru Git - kernel.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)
commite183ee9890efac34261c9d7549a8611509e58bbf
tree72c90a1ea6f1e7ea3f39a7bacc0e4bb64d4c2411
parent749d62966c38292b913b2a8b6511074ebfa4c9a8
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