RFC vhost: Add support of kthread API
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | vhost: Add a new module_param for enable kthreaddrivers/ | +3 | 0 replies | |
| 2/7 | vhost: Add kthread support in function vhost_worker_queue()drivers/ drivers/ | +29 | 2 replies | |
| 3/7 | vhost: Add kthread support in function vhost_workers_free()drivers/ | +47 | 0 replies | |
| 4/7 | vhost: Add the vhost_worker to support kthreaddrivers/ | +38 | 0 replies | |
| 5/7 | vhost: Add the cgroup related functiondrivers/ | +52 | 0 replies | |
| 6/7 | vhost: Add kthread support in function vhost_worker_createdrivers/ | +54 | 0 replies | |
| 7/7 | vhost: Add new UAPI to support changing Kthread modedrivers/ include/ | +12 | 9 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/7] vhost: Add support of kthread API
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 which mode we are using, and a new UAPI is introduced to allow the userspace app to set the mode they want to use.
Cindy Lu (7):
vhost: Add a new module_param for enable kthread
vhost: Add kthread support in function vhost_worker_queue()
vhost: Add kthread support in function vhost_workers_free()
vhost: Add the vhost_worker to support kthread
vhost: Add the cgroup related function
vhost: Add kthread support in function vhost_worker_create
vhost: Add new UAPI to support changing Kthread mode
drivers/vhost/vhost.c | 241 +++++++++++++++++++++++++++++++++++-- drivers/vhost/vhost.h | 1 + include/uapi/linux/vhost.h | 2 + 3 files changed, 235 insertions(+), 9 deletions(-)
Signature · 1 line
2.45.0