hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/ID700L -------------------------------- Enable asynchronous reclaim for cgroup-v2. Signed-off-by: Chen Ridong <chenridong@huawei.com> --- mm/memcontrol.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index ca320571575c5..eee855cde629b 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -8278,6 +8278,14 @@ static struct cftype memory_files[] = { .seq_show = memory_high_show, .write = memory_high_write, }, +#ifdef CONFIG_MEMCG_QOS + { + .name = "high_async_ratio", + .flags = CFTYPE_NOT_ON_ROOT, + .seq_show = memcg_high_async_ratio_show, + .write = memcg_high_async_ratio_write, + }, +#endif { .name = "max", .flags = CFTYPE_NOT_ON_ROOT, -- 2.34.1