qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 4/4] coroutine: pool coroutines to speed up c


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v2 4/4] coroutine: pool coroutines to speed up creation
Date: Thu, 12 May 2011 12:15:54 +0100

On Thu, May 12, 2011 at 12:12 PM, Paolo Bonzini <address@hidden> wrote:
> On 05/12/2011 12:38 PM, Kevin Wolf wrote:
>>>
>>> I don't want to add qemu-img/qemu-io things yet because we don't have
>>> a block layer user for coroutines yet.  The qcow2 patches should
>>> contain these changes.
>>
>> I hope we won't forget it. A missing atexit isn't a very obvious bug.
>
> I was going to reply that this atexit is actually useless, since memory is
> freed automatically at exit?

It's just for completeness to make tools like valgrind happy.  Sure,
the kernel will reclaim memory and we're just burning CPU by freeing
this stuff ;).

Stefan



reply via email to

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