The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit a153a43979e37fe361504d30d9d84c45cbaf1786
Author: Vladimir Riabchun <[email protected]>
Date: Tue Jun 2 21:10:57 2026 +0000
fixup! ve/sunrpc/nfsd: containerize kthreads
Signed-off-by: Vladimir Riabchun <[email protected]>
Reviewed-by: Vasileios Almpanis <[email protected]>
---
net/sunrpc/svc.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index bdafff0fb0855..1a36491114c46 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -811,6 +811,7 @@ svc_start_kthreads(struct svc_serv *serv, struct svc_pool
*pool, int nrservs)
if (!rqstp)
return -ENOMEM;
+#ifdef CONFIG_VE
if (serv->ve_virtualized) {
task = kthread_create_on_node_ve_flags(get_exec_env(),
0, serv->sv_threadfn, rqstp,
@@ -820,6 +821,11 @@ svc_start_kthreads(struct svc_serv *serv, struct svc_pool
*pool, int nrservs)
serv->sv_threadfn, rqstp,
node, "%s", serv->sv_name);
}
+#else
+ task = kthread_create_on_node(
+ serv->sv_threadfn, rqstp,
+ node, "%s", serv->sv_name);
+#endif
if (IS_ERR(task)) {
svc_exit_thread(rqstp);
return PTR_ERR(task);
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel