diff options
| author | SeongJae Park <sj@kernel.org> | 2025-09-15 20:35:06 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-21 14:22:37 -0700 |
| commit | b663f17b738f4a9a9f599dff1bed8e4db519e6f8 (patch) | |
| tree | 4d0ab4a227da4226a01acd1ad30857b0d21f7a79 /scripts/bpf_doc.py | |
| parent | ab152db3cae520154d572cff32e63de441672454 (diff) | |
mm/damon/stat: use damon_initialized()
DAMON_STAT is assuming DAMON is ready to use in module_init time, and uses
its own hack to see if it is the time. Use damon_initialized(), which is
a way for seeing if DAMON is ready to be used that is more reliable and
better to maintain instead of the hack.
Link: https://lkml.kernel.org/r/20250916033511.116366-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
