vhost: Fix freezer/ps regressions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 48 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | signal: Don't always put SIGKILL in shared_pendingkernel/ | +8 | 1 reply | |
| 2/3 | signal: Don't exit for PF_USER_WORKER taskskernel/ | +2 | 0 replies | |
| 3/3 | fork, vhost: Use CLONE_THREAD to fix freezer/ps regressiondrivers/ include/ kernel/ +2 more | +25 | 47 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] vhost: Fix freezer/ps regressions
The following patches made over Linus's tree fix the 2 bugs:
1. vhost worker task shows up as a process forked from the parent that did VHOST_SET_OWNER ioctl instead of a process under root/kthreadd. This was causing breaking scripts.
2. vhost_tasks didn't disable or add support for freeze requests.
The following patches fix these issues by making the vhost_task task a thread under the process that did the VHOST_SET_OWNER and uses get_signal() to handle freeze and SIGSTOP/KILL signals which is required when using CLONE_THREAD (really CLONE_THREAD requires CLONE_SIGHAND which requires SIGKILL/STOP to be supported).