Messages in this thread | | | From | Mike Christie <> | Subject | [PATCH 0/3] vhost: Fix freezer/ps regressions | Date | Sun, 21 May 2023 21:51:21 -0500 |
| |
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).
| |