qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] fixing qemu busy wait


From: Orr Dvory
Subject: Re: [Qemu-devel] fixing qemu busy wait
Date: Wed, 20 Feb 2013 21:39:05 +0200

the new patch is attached...


On Sun, Feb 17, 2013 at 6:32 PM, Orr Dvory <address@hidden> wrote:
Yes it would :)
Should I do that? or that you already fixed the issue?


On Sun, Feb 17, 2013 at 12:06 AM, Richard Henderson <address@hidden> wrote:
On 2013-02-15 03:12, Orr Dvory wrote:
when debugging with qemu(user mode), qemu waits in infinite loop to read
a signal from gdb (when it waits on breakpoint for example).
I added sleeps to reduce the cpu usage from 100% to about ~0%.


Wouldn't it be better to toggle the O_NONBLOCK state of the file descriptor across this loop?


r~


Attachment: qemu-busy-wait.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]