]> 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)
commit9263d431f54d9c90057462c33c1c5f0da4f7e68b
tree72c90a1ea6f1e7ea3f39a7bacc0e4bb64d4c2411
parent4a7deb8e19ecf5c7087cd25b16b79752158a5b74
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