[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/19] chardev flow control
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH 00/19] chardev flow control |
Date: |
Sun, 24 Mar 2013 19:02:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2013-02-18 22:47, Anthony Liguori wrote:
> This series implements an idea from Paolo to introduce flow control
> in the char layer by converting all char backends to use GIOChannels
> internally. Then we can just use the existing IO watch support in glib
> to implement flow control.
>
> This is based on a rebased version of an old series of mine plus a
> number of improvements from Amit Shah.
There is a problem with these changes, maybe just a small bug but I do
not see a simple solution yet:
If an input channel signals readiness but the frontend has no space
(can_read returns 0), the main loop will start busy-waiting, causing
100% CPU load.
It's trivial to reproduce: qemu-system-x86_64 -serial stdio -S, and then
hit a key twice on that console.
Jan
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 00/19] chardev flow control,
Jan Kiszka <=