Re: [PATCH 9/9] vhost: support sharing workers across devs

From
Jason Wang <hidden>
Date
2021-06-07 02:18:40
Also in
linux-scsi, target-devel
Reply to
Stefan Hajnoczi, 2021-06-03
在 2021/6/3 下午10:32, Stefan Hajnoczi 写道:
On Tue, May 25, 2021 at 01:06:00PM -0500, Mike Christie wrote:
quoted
This allows a worker to handle multiple device's vqs.

TODO:
- The worker is attached to the cgroup of the device that created it. In
this patch you can share workers with devices with different owners which
could be in different cgroups. Do we want to restict sharing workers with
devices that have the same owner (dev->mm value)?
Question for Michael or Jason.

I thing sharing workers within a cgroup should be fine.

The differences is that if we restrict the works with the same owner, it may only work in the case where an VM have multiple vhost devices.

Thanks



_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Thread (32 messages) 32 messages, 3 authors, last reply 2021-06-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help