|
From: | Richard Henderson |
Subject: | Re: [PATCH] RFC: replace qemu_real_host_page variables with inlined functions |
Date: | Mon, 7 Mar 2022 07:41:24 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
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? r~
[Prev in Thread] | Current Thread | [Next in Thread] |