Messages in this thread | | | Date | Mon, 22 Oct 2012 15:05:58 +0200 | From | Gleb Natapov <> | Subject | Re: [PATCH] KVM: x86: fix vcpu->mmio_fragments overflow |
| |
On Mon, Oct 22, 2012 at 03:02:22PM +0200, Avi Kivity wrote: > On 10/22/2012 03:01 PM, Gleb Natapov wrote: > > >> It's time where the guest cannot take interrupts, and time in a high > >> priority guest thread that is spent processing low guest priority requests. > >> > > Proposed fix has exactly same issue. Until all data is transfered to > > userspace no interrupt will be served. > > For mmio_fragments that is okay. It's the same guest instruction, and > it's still O(1). > > It's not okay for general mmio coalescing. > Ah, so optimizing mmio_fragments transmission to userspace using dedicated coalesced MMIO buffer should be fine then. Unfortunately, since we cannot use shared ring buffer that exists now, this is too much work for small gain that only new QEMU will be able to enjoy.
-- Gleb.
| |