[Devel] [PATCH v3 RH9] cgroup_freezer: print information about unfreezable process

2022-11-30 Thread Pavel Tikhomirov
Add a sysctl kernel.freeze_cgroup_timeout (default value 30 * HZ). If one writes FROZEN to freezer.state file and after a timeout of kernel.freeze_cgroup_timeout one still reads FREEZING from freezer.state file (meaning that kernel does not succeed to freeze cgroup processes still) - let's print a

[Devel] [PATCH RH9] loadavg: Fix handling of cfs_rq->nr_unint values

2022-11-30 Thread Nikolay Borisov
Our custom nr_unint logic follows the kernel's one about the global nr_uninterruptible one. One invariant that both share is that values of nr_unint can go negative when a task is migrated from a CPU. What's important is that when summed across all task groups they either result in a positive numbe

[Devel] [PATCH RHEL9 COMMIT] cgroup_freezer: Print information about unfreezable process

2022-11-30 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-70.22.1.vz9.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-70.22.1.vz9.17.12 --> commit ec9280be8a973d5dcde1fba07872bfec05ac99ef Author: Pavel Tikhomirov Date: Wed Nov 30 14:22:42 2022 +0300 cgroup_fr