aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2025-05-13 00:27:10 +0000
committerAndrew Morton <[email protected]>2025-05-22 21:55:38 +0000
commit591c4c78be06360fe31b31401564bdb2d2b79995 (patch)
tree3ca87cfb4fe203a40092285bdf0e0fed72b5f25c /rust/helpers/helpers.c
parentmm: rename try_alloc_pages() to alloc_pages_nolock() (diff)
downloadkernel-591c4c78be06360fe31b31401564bdb2d2b79995.tar.gz
kernel-591c4c78be06360fe31b31401564bdb2d2b79995.zip
mm/damon/core: warn and fix nr_accesses[_bp] corruption
Patch series "mm/damon: minor fixups and improvements for code, tests, and documents". Yet another batch of miscellaneous DAMON changes. Fix and improve minor problems in code, tests and documents. This patch (of 6): For a bug such as double aggregation reset[1], ->nr_accesses and/or ->nr_accesses_bp of damon_region could be corrupted. Such corruption can make monitoring results pretty inaccurate, so the root causing bug should be investigated. Meanwhile, the corruption itself can easily be fixed but silently fixing it will hide the bug. Fix the corruption as soon as found, but WARN_ONCE() so that we can be aware of the existence of the bug while keeping the system running in a more sane way. Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Link: https://lore.kernel.org/[email protected] [1] Signed-off-by: SeongJae Park <[email protected]> Cc: Brendan Higgins <[email protected]> Cc: David Gow <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions