chiark / gitweb /
cgroup: when querying the number of tasks in the root slice use the pid_max sysctl
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Jan 2018 14:39:39 +0000 (15:39 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:17 +0000 (07:50 +0200)
commita696ccac5a53620d1652b10218a7f62647a2c501
tree0ef0f8fb41da3cfbbfed3156f49cf65d46eae878
parente944316f6eecad97dd6abe1f9e0fbd05aead7442
cgroup: when querying the number of tasks in the root slice use the pid_max sysctl

The root cgroup doesn't expose and properties in the "pids" cgroup
controller, hence we need to get the data from somewhere else.
src/core/cgroup.c