Re: [RFC 0/7] vhost: Add support of kthread API

2024-08-28 Thread Cindy Lu
On Tue, 27 Aug 2024 at 10:35, Jason Wang wrote: > > On Mon, Aug 19, 2024 at 5:29 PM Cindy Lu wrote: > > > > In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), > > vhost removed the support for the kthread API. However, there are > > still situations where there is a request to

Re: [RFC 0/7] vhost: Add support of kthread API

2024-08-26 Thread Jason Wang
On Mon, Aug 19, 2024 at 5:29 PM Cindy Lu wrote: > > In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), > vhost removed the support for the kthread API. However, there are > still situations where there is a request to use kthread. I think we need some tweak here. For example, w

[RFC 0/7] vhost: Add support of kthread API

2024-08-19 Thread Cindy Lu
In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), vhost removed the support for the kthread API. However, there are still situations where there is a request to use kthread. In this RFC, the support of kthread is added back. Additionally, a module_param is added to identify whic