cgroup: implement the PIDs subsystem