Messages in this thread | | | From | Christian Brauner <> | Subject | Re: [PATCH 00/11] Use copy_process in vhost layer | Date | Sun, 12 Mar 2023 11:07:18 +0100 |
| |
From: Christian Brauner (Microsoft) <brauner@kernel.org>
On Fri, 10 Mar 2023 16:03:21 -0600, Mike Christie wrote: > The following patches were made over Linus's tree and apply over next. They > allow the vhost layer to use copy_process instead of using > workqueue_structs to create worker threads for VM's devices. > > Details: > Qemu will create vhost devices in the kernel which perform network or SCSI, > IO and perform management operations from worker threads created with the > kthread API. Because the kthread API does a copy_process on the kthreadd > thread, the vhost layer has to use kthread_use_mm to access the Qemu > thread's memory and cgroup_attach_task_all to add itself to the Qemu > thread's cgroups. > > [...]
I've picked this up now and it should show up in -next tomorrow. Thanks for the patience,
tree: git@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux kernel.user_worker
[01/11] csky: Remove kernel_thread declaration commit: e0a98139c162af9601ffa8d6db88dbe745f64b3c [02/11] kernel: Allow a kernel thread's name to be set in copy_process commit: cf587db2ee0261c74d04f61f39783db88a0b65e4 [03/11] kthread: Pass in the thread's name during creation commit: 73e0c116594d99f807754b15e474690635a87249 [04/11] kernel: Make io_thread and kthread bit fields commit: c81cc5819faf5dd77124f5086aa654482281ac37 [05/11] fork/vm: Move common PF_IO_WORKER behavior to new flag commit: 54e6842d0775ba76db65cbe21311c3ca466e663d [06/11] fork: add kernel_clone_args flag to not dup/clone files commit: 11f3f500ec8a75c96087f3bed87aa2b1c5de7498 [07/11] fork: Add kernel_clone_args flag to ignore signals commit: 094717586bf71ac20ae3b240d2654d826634b21e [08/11] fork: allow kernel code to call copy_process commit: 89c8e98d8cfb0656dbeb648572df5b13e372247d [09/11] vhost_task: Allow vhost layer to use copy_process commit: 77feab3c4156229511b378f15c0a16574d9c08ea [10/11] vhost: move worker thread fields to new struct commit: d45e2b73ead0daec350680fbf20144a2d3670186 [11/11] vhost: use vhost_tasks for worker threads commit: 5ab18f4b061ef24a71eea9ffafebd1a82ae2f514
| |