Re: [PATCH 14/18] virtio: add api for delayed callbacks

From
Rusty Russell <hidden>
Date
2011-05-09 06:35:26
Also in
kvm, lkml
Reply to
Michael S. Tsirkin, 2011-05-04
On Wed, 4 May 2011 23:52:33 +0300, "Michael S. Tsirkin" [off-list ref] wrote:
Add an API that tells the other side that callbacks
should be delayed until a lot of work has been done.
Implement using the new used_event feature.
Since you're going to add a capacity query anyway, why not add the
threshold argument here?

Then the caller can choose how much space it needs.  Maybe net and block
will want different things...

Cheers,
Rusty.
Thread (51 messages) 51 messages, 5 authors, last reply 2011-05-20
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