Re: [RFC V1 08/13] vduse: flush workers on suspend
From: Jason Wang
Date: Wed Jan 10 2024 - 22:10:06 EST
On Thu, Jan 11, 2024 at 4:40 AM Steve Sistare <steven.sistare@xxxxxxxxxx> wrote:
>
> To pass ownership of a live vdpa device to a new process, the user
> suspends the device, calls VHOST_NEW_OWNER to change the mm, and calls
> VHOST_IOTLB_REMAP to change the user virtual addresses to match the new
> mm. Flush workers in suspend to guarantee that no worker sees the new
> mm and old VA in between.
>
> Signed-off-by: Steve Sistare <steven.sistare@xxxxxxxxxx>
It seems we need a better title, probably "suspend support for vduse"?
And it looks better to be an separate patch.
Thanks