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: Andreas Färber
Subject: Re: [Qemu-devel] fixing qemu busy wait
Date: Wed, 20 Feb 2013 21:20:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

Am 20.02.2013 20:39, schrieb Orr Dvory:
> the new patch is attached...

Please see http://wiki.qemu.org/Contribute/SubmitAPatch for multiple
reasons why your patch won't get applied or get much review as is.

Andreas

> 
> 
> On Sun, Feb 17, 2013 at 6:32 PM, Orr Dvory <address@hidden
> <mailto: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
>     <mailto: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~
> 
> 
> 


-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

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