aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2017-07-06 11:01:07 -0700
committerBoris Ostrovsky <[email protected]>2017-08-31 09:45:55 -0400
commit5d520d8580b31d75a115ac58ab0a804b92581fd5 (patch)
treeb611ceb5e6b6955202275fe27c2dc956cd220085 /lib/memory-notifier-error-inject.c
parent0a85d23b8164c951a50512b84601decb9a5e4dd6 (diff)
xen/pvcalls: implement the ioworker functions
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 use one atomic counter ("io") per ioworker to keep track of how many outstanding requests we have in total assigned to the ioworker. The ioworker finishes when there are none. Signed-off-by: Stefano Stabellini <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Reviewed-by: Juergen Gross <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions