Messages in this thread | | | Date | Mon, 5 Jun 2023 17:10:38 +0200 | From | Oleg Nesterov <> | Subject | Re: [CFT][PATCH v3] fork, vhost: Use CLONE_THREAD to fix freezer/ps regression |
| |
On 06/03, michael.christie@oracle.com wrote: > > On 6/2/23 11:15 PM, Eric W. Biederman wrote: > The problem is that as part of the flush the drivers/vhost/scsi.c code > will wait for outstanding commands, because we can't free the device and > it's resources before the commands complete or we will hit the accessing > freed memory bug.
ignoring send-fd/clone issues, can we assume that the final fput/release should always come from vhost_worker's sub-thread (which shares mm/etc) ?
Oleg.
| |