summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorSJ Park <sj@kernel.org>2026-06-29 21:07:58 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-07-30 19:40:33 -0700
commit8ea1a3a70abaa85343cd47d0add115d3410d3b35 (patch)
treec61c3a27bad55dbf8980cda9c192caff6ce86858 /tools/lib/python/kdoc
parent1b43501d688d60964462151159f72cac1266c273 (diff)
mm/damon/core: use damon_nr_accesses_mvsum() in __damos_valid_target()
damon_nr_accesses_mvsum() returns a value same to nr_accesses_bp. Also the function is more simple and therefore more tolerant to errors. Execution of the function would be more expensive than the simple read of the field, but because the function is quite simple, the overhead should be negligible. Use it in __damos_valid_target() instead of the nr_accesses_bp. Link: https://lore.kernel.org/20260630040812.149729-6-sj@kernel.org Signed-off-by: SJ Park <sj@kernel.org> Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions