!2313 fixed the repeated setting logic of memcg_swap_qos_enable
Merge Pull Request from: @zhangwei123171
Now when echo 1 > /proc/sys/vm/memcg_swap_qos_enable multiple times, memcg_swap_qos_reset will be called every time.
In a production environment, when memcg swap qos is working normally, operations Engineer may execute sysctl -p for other reasons, destroying the relationship between each container and its corresponding swapfile.
Link:https://gitee.com/openeuler/kernel/pulls/2313
Reviewed-by:
Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment