Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33

Gregory Haskins
2009-12-22T19:37:32Z

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

On 12/22/09 2:32 PM, Gregory Haskins wrote:
> On 12/22/09 2:25 PM, Avi Kivity wrote:

>>
>> If you're not doing something pretty minor, you're better of waking up a
>> thread (perhaps _sync if you want to keep on the same cpu). With the
>> new user return notifier thingie, that's pretty cheap.
>
> We have exploits that take advantage of IO heuristics. When triggered
> they do more work in vcpu context than normal, which reduces latency
> under certain circumstances. But you definitely do _not_ want to do
> them in-atomic ;)

And I almost forgot: dev->call() is an RPC to the backend device.
Therefore, it must be synchronous, yet we dont want it locked either. I
think that was actually the primary motivation for the change, now that
I think about it.

-Greg

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 267 bytes --]