qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Akihiko Odaki <akihiko.odaki@daynix.com>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
Subject: Re: [PATCH] qemu/osdep: Remove fallback for MAP_FIXED_NOREPLACE
Date: Wed, 9 Aug 2023 12:43:34 +0900	[thread overview]
Message-ID: <cbfd8bb5-7c95-44a7-85ef-8597a5f85242@daynix.com> (raw)
In-Reply-To: <20230808164418.69989-1-richard.henderson@linaro.org>

On 2023/08/09 1:44, Richard Henderson wrote:
> In order for our emulation of MAP_FIXED_NOREPLACE to succeed within
> linux-user target_mmap, we require a non-zero value.  This does not
> require host kernel support, merely the bit being defined.
> 
> MAP_FIXED_NOREPLACE was added with glibc 2.28.  From repology.org:
> 
>                    Fedora 36: 2.35
>            CentOS 8 (RHEL-8): 2.28
>                    Debian 11: 2.31
>           OpenSUSE Leap 15.4: 2.31
>             Ubuntu LTS 20.04: 2.31
> 
> Reported-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>


  parent reply	other threads:[~2023-08-09  3:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-08 16:44 [PATCH] qemu/osdep: Remove fallback for MAP_FIXED_NOREPLACE Richard Henderson
2023-08-08 22:16 ` Alex Bennée
2023-08-09  3:43 ` Akihiko Odaki [this message]
2023-08-09  3:50 ` Michael Tokarev
2023-08-09  3:51   ` 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=cbfd8bb5-7c95-44a7-85ef-8597a5f85242@daynix.com \
    --to=akihiko.odaki@daynix.com \
    --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).