diff options
| author | SeongJae Park <[email protected]> | 2023-09-16 02:09:39 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:31 -0700 |
| commit | a72217ad596ec8a957e1f73e45817c3664d99f1e (patch) | |
| tree | 20ae8ed0d9960c74b629669502d4b8f028f20263 /include/linux/workqueue_api.h | |
| parent | e7639bb48d39dd7f544b19c8a09bb62f934b6e32 (diff) | |
mm/damon/core: use nr_accesses_bp as a source of damos_before_apply tracepoint
damos_before_apply tracepoint is exposing access rate of DAMON regions
using nr_accesses field of regions, which was actually used by DAMOS in
the past. However, it has changed to use nr_accesses_bp instead. Update
the tracepoint to expose the value that DAMOS is really using.
Note that it doesn't expose the value as is in the basis point, but after
converting it to the natural number by dividing it by 10,000. Therefore
this change doesn't make user-visible behavioral differences.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions