qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] RFC: replace qemu_real_host_page variables with inlined func


From: Marc-André Lureau
Subject: Re: [PATCH] RFC: replace qemu_real_host_page variables with inlined functions
Date: Tue, 8 Mar 2022 15:34:16 +0400

Hi

On Mon, Mar 7, 2022 at 9:41 PM Richard Henderson <richard.henderson@linaro.org> wrote:
On 3/1/22 04:46, marcandre.lureau@redhat.com wrote:
> Replace the global variables with inlined helper functions. getpagesize() is very
> likely annotated with a "const" function attribute (at least with glibc), and thus
> optimization should apply even better.
>
> This avoids the need for a constructor initialization too.

What's the change in the size of the qemu text section with this change?

I get +496 bytes  (on a 58Mb binary ;)

--
Marc-André Lureau

reply via email to

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