Re: [Xen-devel] [RFC][PATCH v1] xen-fbfront: replace deferred io with buffer queue

2015-01-19 Thread Sergiy Kibrik
On 1/19/2015 3:31 PM, Ian Campbell wrote: > On Mon, 2015-01-19 at 14:03 +0200, Sergiy Kibrik wrote: >> include/xen/interface/io/fbif.h |9 +- > > Please get the any protocol changes reviewed and accepted into xen.git > first, including e.g. the switch to grant tables

Re: [Xen-devel] [RFC][PATCH v1] xen-fbfront: replace deferred io with buffer queue

2015-01-19 Thread Sergiy Kibrik
On 1/19/2015 3:25 PM, Stefano Stabellini wrote: >> This doesn't sound like a secure interface: a potentially very >> > significant and unbound memory allocation in dom0 is caused by a >> > parameter configured by the guest. > > Sorry, I realize now that fortunately it is the other way around. > I

Re: [Xen-devel] [RFC][PATCH v1] xen-fbfront: replace deferred io with buffer queue

2015-01-19 Thread Sergiy Kibrik
hi Stefano, thank you for comments, On 1/19/2015 3:21 PM, Stefano Stabellini wrote: > On Mon, 19 Jan 2015, Sergiy Kibrik wrote: >> Use N-buffering instead of old deferred I/O, which is not suitable for high >> frame rates. This includes new event type -- xenfb_in_released, >>

[Xen-devel] [RFC][PATCH v1] xen-fbfront: replace deferred io with buffer queue

2015-01-19 Thread Sergiy Kibrik
Use N-buffering instead of old deferred I/O, which is not suitable for high frame rates. This includes new event type -- xenfb_in_released, to track buffers not being used by backend. Also use grants for fb pages, as they allow backend to map them to video devices. Signed-off-by: Sergiy Kibrik