mm/damon/core: add more comments for nr_accesses
authorSeongJae Park <sj@kernel.org>
Thu, 7 Sep 2023 02:29:27 +0000 (02:29 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Oct 2023 17:32:21 +0000 (10:32 -0700)
commitd896073fc767ebb40c11a6a9de71c390757ac64b
treedbb79c58f7df300e6863718fb20c1d5394e1da10
parent27e68c4b0d5a945d975140315332ea2e7aa2c57b
mm/damon/core: add more comments for nr_accesses

The comment on struct damon_region about nr_accesses field looks not
sufficient.  Many people actually used to ask what nr_accesses mean.
There is more detailed explanation of the mechanism on the comment for
struct damon_attrs, but it is also ambiguous, as it doesn't specify the
name of the counter for aggregating the access check results.  Make
those more detailed.

Link: https://lkml.kernel.org/r/20230907022929.91361-10-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/damon.h