Re: [Qemu-devel] [PATCH v2] qemu-char: eliminate busy waiting on can_read returning zero

2013-04-08 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2] qemu-char: eliminate busy waiting on can_read returning zero

2013-04-07 Thread Paolo Bonzini
Il 06/04/2013 21:00, Amit Shah ha scritto: On (Fri) 05 Apr 2013 [17:59:33], Paolo Bonzini wrote: The character backend refactoring introduced an undesirable busy wait. The busy wait happens if can_read returns zero and there is data available on the character device's file descriptor. Then,

Re: [Qemu-devel] [PATCH v2] qemu-char: eliminate busy waiting on can_read returning zero

2013-04-07 Thread Peter Crosthwaite
Hi Paolo, On Mon, Apr 8, 2013 at 4:49 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 06/04/2013 21:00, Amit Shah ha scritto: On (Fri) 05 Apr 2013 [17:59:33], Paolo Bonzini wrote: The character backend refactoring introduced an undesirable busy wait. The busy wait happens if can_read returns

Re: [Qemu-devel] [PATCH v2] qemu-char: eliminate busy waiting on can_read returning zero

2013-04-06 Thread Amit Shah
On (Fri) 05 Apr 2013 [17:59:33], Paolo Bonzini wrote: The character backend refactoring introduced an undesirable busy wait. The busy wait happens if can_read returns zero and there is data available on the character device's file descriptor. Then, the I/O watch will fire continuously and,

Re: [Qemu-devel] [PATCH v2] qemu-char: eliminate busy waiting on can_read returning zero

2013-04-06 Thread Peter Crosthwaite
Hi Paolo, On Sat, Apr 6, 2013 at 1:59 AM, Paolo Bonzini pbonz...@redhat.com wrote: The character backend refactoring introduced an undesirable busy wait. The busy wait happens if can_read returns zero and there is data available on the character device's file descriptor. Then, the I/O watch

[Qemu-devel] [PATCH v2] qemu-char: eliminate busy waiting on can_read returning zero

2013-04-05 Thread Paolo Bonzini
The character backend refactoring introduced an undesirable busy wait. The busy wait happens if can_read returns zero and there is data available on the character device's file descriptor. Then, the I/O watch will fire continuously and, with TCG, the CPU thread will never run. 1) Char