[Spice-devel] [PATCH 0/3] RfC: fix locking

Alon Levy alevy at redhat.com
Thu Apr 28 04:14:34 PDT 2011


On Thu, Apr 28, 2011 at 12:13:07PM +0200, Gerd Hoffmann wrote:
>   Hi folks,
> 
> Here is a alternative approach to fix the qemu locking issue.  It simply
> handles the updates in the display refresh timer instead of switching
> back and forth between the threads using the pipe.
> 
> comments?

Looks good. I guess you are sure that the lock is less resource hungry then
switching threads? Anyhow it's way less code, which is great.

> 
>   Gerd
> 
> Gerd Hoffmann (3):
>   spice: don't create updates in spice server context.
>   spice: don't call displaystate callbacks from spice server context.
>   spice: drop obsolete iothread locking
> 
>  hw/qxl-render.c    |   25 +++++++++++-----------
>  hw/qxl.c           |   27 +++++++++++------------
>  ui/spice-display.c |   57 +++++++++++++++++++++++++++++++---------------------
>  ui/spice-display.h |   24 +++++++++++++++++----
>  4 files changed, 78 insertions(+), 55 deletions(-)
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list