diff options
| author | SeongJae Park <[email protected]> | 2025-06-22 21:37:55 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-07-10 05:42:20 +0000 |
| commit | b7482f91ea1d3ff3288c3678c37dcfe70124d26c (patch) | |
| tree | 844ecb8b9a3b6821887bd31b0970d31cce4b6ab3 /lib/test_vmalloc.c | |
| parent | mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd() (diff) | |
| download | kernel-b7482f91ea1d3ff3288c3678c37dcfe70124d26c.tar.gz kernel-b7482f91ea1d3ff3288c3678c37dcfe70124d26c.zip | |
mm/damon/sysfs-schemes: decouple from damos_quota_goal_metric
Patch series "mm/damon: decouple sysfs from core".
DAMON sysfs interface is coupled with core layer. It maintains some of
its keywords arrays be synchronized with matching DAMON core API enums.
It is unnecessary coupling that makes separated changes for different
layers difficult. Decouple the layers by introducing new data structure
for the mappings on DAMON sysfs interface.
This patch (of 5):
Decouple DAMOS sysfs interface from damos_quota_goal_metric. For this,
define and use new sysfs-schemes internal data structure that maps the
user-space keywords and damos_quota_goal_metric, instead of having the
implicit and unflexible array index rule.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions
