Cgroups v2 bug: incorrect reporting in "domain threaded" cgroup.procs file

2018-11-07 Thread Michael Kerrisk (man-pages)
Hello Tejun, I've discovered what looks to be a bug in the reporting of PIDs in the cgroup.procs file in the "domain threaded" node at the root of a threaded subtree. The following demo is on vanilla kernel 4.19. Suppose we have the following multithreaded process: $ ps -L 654 PID LWP TTY

Cgroups v2 bug: incorrect reporting in "domain threaded" cgroup.procs file

2018-11-07 Thread Michael Kerrisk (man-pages)
Hello Tejun, I've discovered what looks to be a bug in the reporting of PIDs in the cgroup.procs file in the "domain threaded" node at the root of a threaded subtree. The following demo is on vanilla kernel 4.19. Suppose we have the following multithreaded process: $ ps -L 654 PID LWP TTY