diff options
author | Chen Ridong <chenridong@huawei.com> | 2024-08-30 10:02:20 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-08-30 10:00:15 -1000 |
commit | 49434094efbbe360dd7fcf934fef239a01a95bb7 (patch) | |
tree | 371053efbf9993ad3ecec61ffa7ceeff62a69980 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | 619a33efa0b0cd566f928d60d128033673e478cf (diff) |
cgroup/cpuset: move memory_pressure to cpuset-v1.c
Collection of memory_pressure can be enabled by writing 1 to the cpuset
file 'memory_pressure_enabled', which is only for cpuset-v1. Therefore,
move the corresponding code to cpuset-v1.c.
Currently, the 'fmeter_init' and 'fmeter_getrate' functions are called
at cpuset.c, so expose them to cpuset.c.
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions