qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Richard Henderson" <richard.henderson@linaro.org>,
	"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 0/2] osdep: Cache getpagesize() call in qemu_real_host_page_size()
Date: Mon,  3 Nov 2025 11:51:08 +0100	[thread overview]
Message-ID: <20251103105111.68294-1-philmd@linaro.org> (raw)

Cache getpagesize() call once, so we don't have to worry
how often we can call qemu_real_host_page_size() and
qemu_real_host_page_mask().

Philippe Mathieu-Daudé (2):
  osdep: Un-inline qemu_real_host_page_size()
  osdep: Cache getpagesize() call in qemu_real_host_page_size()

 include/qemu/osdep.h |  6 +-----
 util/osdep.c         | 11 +++++++++++
 2 files changed, 12 insertions(+), 5 deletions(-)

-- 
2.51.0



             reply	other threads:[~2025-11-03 10:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-03 10:51 Philippe Mathieu-Daudé [this message]
2025-11-03 10:51 ` [PATCH 1/2] osdep: Un-inline qemu_real_host_page_size() Philippe Mathieu-Daudé
2025-11-03 10:51 ` [PATCH 2/2] osdep: Cache getpagesize() call in qemu_real_host_page_size() Philippe Mathieu-Daudé
2025-11-06 10:53 ` [PATCH 0/2] " Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251103105111.68294-1-philmd@linaro.org \
    --to=philmd@linaro.org \
    --cc=pierrick.bouvier@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).