[Devel] [PATCH RHEL10 COMMIT] fixup! ve/cgroup: Move release_agent from system_wq to per-ve workqueues
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Jun 5 21:32:12 MSK 2026
The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit 60c3b5f6eb60a8b8b7d19ef19da7d26a73a0f466
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date: Tue Jun 2 21:10:39 2026 +0000
fixup! ve/cgroup: Move release_agent from system_wq to per-ve workqueues
ve0 doesn't exist when !CONFIG_VE, use get_ve0().
https://virtuozzo.atlassian.net/browse/VSTOR-130116
Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
---
kernel/cgroup/cgroup-v1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/cgroup/cgroup-v1.c b/kernel/cgroup/cgroup-v1.c
index 5c1b6a24ed51f..dfa9b0c830824 100644
--- a/kernel/cgroup/cgroup-v1.c
+++ b/kernel/cgroup/cgroup-v1.c
@@ -930,7 +930,7 @@ void cgroup1_release_agent(struct work_struct *work)
ret = call_usermodehelper_ve(ve, argv[0], argv, envp,
UMH_WAIT_EXEC);
- if (ret < 0 && ve == &ve0)
+ if (ret < 0 && ve == get_ve0())
pr_warn_ratelimited("cgroup1_release_agent "
"%s %s failed: %d\n",
agentbuf, pathbuf, ret);
More information about the Devel
mailing list