[Top][All Lists]

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

Re: [PATCH v2 1/6] util/oslib-win32: Use _aligned_malloc for qemu_try_me

From: Richard Henderson
Subject: Re: [PATCH v2 1/6] util/oslib-win32: Use _aligned_malloc for qemu_try_memalign
Date: Thu, 17 Sep 2020 13:34:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 9/17/20 11:43 AM, Eduardo Habkost wrote:
> On Tue, Sep 15, 2020 at 05:46:33PM -0700, Richard Henderson wrote:
>> We do not need or want to be allocating page sized quanta.
>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> Would it be safe to keep patches 2-6 applied in case this one
> gets dropped or reverted for any reason?


Only objects using QEMU_ALIGNED() should have an __alignof__ larger than

Therefore, I believe that the CPUArchState objects to be the only ones that
will go through qemu_memalign.  So we won't end up with all QOM objects being
page allocated on Windows.


reply via email to

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