Peter Lieven c3d6899c5e vnc: recycle empty vs->output buffer
If the vs->output buffer is empty it will be dropped
by the next qio_buffer_move_empty in vnc_jobs_consume_buffer
anyway. So reuse the allocated buffer from this buffer
in the worker thread where we otherwise would start with
an empty (unallocated buffer).

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1446203414-4013-17-git-send-email-kraxel@redhat.com

[ added a comment describing the non-obvious optimization ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-11-05 09:09:31 +01:00
..
2015-10-16 11:06:19 +01:00
2015-10-08 10:31:35 +02:00
2012-12-19 08:31:30 +01:00
2015-05-29 11:11:38 +02:00
2010-07-26 17:35:54 -05:00
2015-10-08 10:31:35 +02:00
2014-09-16 08:07:05 +02:00
2010-07-26 17:35:54 -05:00
2015-10-08 10:31:35 +02:00
2015-11-02 08:30:26 +01:00
2010-07-26 17:36:14 -05:00
2015-10-20 14:59:09 +01:00