diff options
| author | SJ Park <sj@kernel.org> | 2026-07-14 07:35:42 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-06 18:57:07 -0700 |
| commit | 131c20823ebcc039ae19b1bb4d8343a6b00026d2 (patch) | |
| tree | bd51a555ad1770a57bececd0a97425f7d3d6f3f7 /include/linux | |
| parent | 6a0c38aba6040c92d2213b9fad4cdac4fcbf3c8a (diff) | |
mm/damon/sysfs: do not directly access damon_ctx->ops
damon_ctx->ops field is intended to be used by only the DAMON core layer.
DAMON_SYSFS is directly reading the field to find if it is for physical
address monitoring, though. Use the API function for the purpose,
damon_target_has_pid(), instead.
Link: https://lore.kernel.org/20260714143544.101305-10-sj@kernel.org
Signed-off-by: SJ Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
