diff options
| author | Chen Ridong <chenridong@huawei.com> | 2024-08-30 13:02:20 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2024-08-30 23:00:15 +0300 |
| commit | 49434094efbbe360dd7fcf934fef239a01a95bb7 (patch) | |
| tree | 371053efbf9993ad3ecec61ffa7ceeff62a69980 /tools/perf/scripts/python/compaction-times.py | |
| parent | 619a33efa0b0cd566f928d60d128033673e478cf (diff) | |
| download | linux-49434094efbbe360dd7fcf934fef239a01a95bb7.tar.xz | |
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/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
