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-05-05 10:48:22 +02:00
2015-10-16 11:06:19 +01:00
2015-10-08 10:31:35 +02:00
2015-11-02 08:30:28 +01:00
2015-11-03 10:12:46 +01:00
2015-11-03 10:12:46 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2015-10-08 10:34:53 +02:00
2015-05-29 11:11:38 +02:00
2015-10-08 10:34:53 +02:00
2015-10-08 10:34:53 +02:00
2015-10-19 10:13:07 +02:00
2015-11-02 08:30:28 +01:00
2015-11-02 08:30:28 +01:00
2015-11-02 08:30:28 +01:00
2014-12-10 10:08:12 +01:00
2010-07-26 17:35:54 -05:00
2015-10-08 10:34:53 +02:00
2015-01-19 13:33:26 +01:00
2012-12-19 08:31:30 +01:00
2015-10-08 10:31:35 +02:00
2015-05-05 10:48:26 +02:00
2015-05-05 10:48:26 +02:00
2014-09-16 08:07:05 +02:00
2015-06-09 10:25:21 +02:00
2014-03-05 09:52:05 +01:00
2013-01-15 18:25:30 -06:00
2013-01-15 18:25:30 -06:00
2010-07-26 17:35:54 -05:00
2015-05-05 10:48:26 +02:00
2015-10-08 10:31:35 +02:00
2015-11-02 08:30:26 +01:00
2015-09-21 09:52:07 +02:00
2014-03-24 08:41:21 +01:00
2012-12-19 08:31:30 +01:00
2015-03-10 08:15:34 +03:00
2015-09-15 15:20:55 +01:00
2013-08-22 19:10:27 +02:00
2015-09-15 15:20:55 +01:00
2010-07-26 17:35:54 -05:00
2012-11-01 14:00:04 +01:00
2012-11-01 14:00:05 +01:00
2014-12-10 10:08:12 +01:00
2010-07-26 17:36:14 -05:00
2011-08-20 23:01:08 -05:00
2011-02-23 16:28:28 -06:00
2012-11-01 14:00:04 +01:00
2011-02-23 16:28:28 -06:00
2011-12-14 11:09:44 +00:00
2013-10-26 13:06:45 +04:00
2015-11-05 09:09:31 +01:00
2015-03-10 08:15:33 +03:00
2012-12-06 09:17:05 +01:00
2012-12-19 08:32:39 +01:00
2015-09-15 15:20:55 +01:00
2015-09-15 15:20:55 +01:00
2015-11-05 09:09:23 +01:00
2015-10-20 14:59:09 +01:00
2015-05-29 10:30:06 +02:00
2011-01-23 16:21:20 +00:00