[Devel] [PATCH RHEL10 COMMIT] fixup! ve/kthreadd: add per-ve kthreads creation interface

Konstantin Khorenko khorenko at virtuozzo.com
Fri Jun 5 21:32:22 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 5320411470bcce97faac0a39b5401f83568c11ed
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date:   Tue Jun 2 21:10:51 2026 +0000

    fixup! ve/kthreadd: add per-ve kthreads creation interface
    
    struct kthread_create_work is used in functions not
    covered by CONFIG_VE.
    
    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/kthread.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kernel/kthread.c b/kernel/kthread.c
index eed51fdd5cc1f..fe30b24235dd2 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -432,7 +432,7 @@ static void create_kthread(struct kthread_create_info *create)
 	return create_kthread_flags(create, 0);
 }
 
-#ifdef CONFIG_VE
+
 struct kthread_create_work {
 	struct kthread_work work;
 	struct kthread_create_info *info;
@@ -447,7 +447,6 @@ static void kthread_create_fn(struct kthread_work *w)
 	create_kthread_flags(work->info, work->flags);
 }
 
-#endif
 static void kthread_create_add(struct kthread_create_info *create)
 {
 	spin_lock(&kthread_create_lock);


More information about the Devel mailing list