Re: [Xen-devel] [PATCH v3 15/18] xen/pvcalls: implement the ioworker functions

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > We have one ioworker per socket. Each ioworker goes through the list of > > outstanding read/write requests. Once all requests have been dealt with, > > it returns. > > > > We use one atomic counter per

Re: [Xen-devel] [PATCH v3 15/18] xen/pvcalls: implement the ioworker functions

2017-06-13 Thread Juergen Gross
On 02/06/17 21:31, Stefano Stabellini wrote: > We have one ioworker per socket. Each ioworker goes through the list of > outstanding read/write requests. Once all requests have been dealt with, > it returns. > > We use one atomic counter per socket for "read" operations and one > for "write"

[Xen-devel] [PATCH v3 15/18] xen/pvcalls: implement the ioworker functions

2017-06-02 Thread Stefano Stabellini
We have one ioworker per socket. Each ioworker goes through the list of outstanding read/write requests. Once all requests have been dealt with, it returns. We use one atomic counter per socket for "read" operations and one for "write" operations to keep track of the reads/writes to do. We also