qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, Warner Losh <imp@bsdimp.com>
Subject: Re: [PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD
Date: Tue, 20 Dec 2022 23:16:11 +0100	[thread overview]
Message-ID: <8144cfc0-ddb5-b48a-e0f9-050a4e97c5de@linaro.org> (raw)
In-Reply-To: <c6e49899-509d-6c81-1a89-7182c61896ec@linaro.org>

On 20/12/22 20:31, Richard Henderson wrote:
> On 12/17/22 10:48, Richard Henderson wrote:
>> Make bsd-user match linux-user in not marking host pages
>> as reserved.  This isn't especially effective anyway, as
>> it doesn't take into account any heap memory that qemu
>> may allocate after startup.
>>
>> Cc: Warner Losh <imp@bsdimp.com>
>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>> ---
>>
>> I started to simply fix up this code to match my user-only interval-tree
>> patch set, as L1_MAP_ADDR_SPACE_BITS gets removed from translate-all.c,
>> but then I decided to remove it all.
> 
> A further justification for this:  The actual PAGE_RESERVED bit is 
> write-only; there is no other reference to this bit elsewhere.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



  reply	other threads:[~2022-12-20 22:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-17 18:48 [PATCH] accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD Richard Henderson
2022-12-20 19:31 ` Richard Henderson
2022-12-20 22:16   ` Philippe Mathieu-Daudé [this message]
2022-12-20 22:09 ` Warner Losh
2022-12-20 23:22   ` Richard Henderson
2022-12-21  1:04     ` Warner Losh
2022-12-20 23:09 ` Alex Bennée

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=8144cfc0-ddb5-b48a-e0f9-050a4e97c5de@linaro.org \
    --to=philmd@linaro.org \
    --cc=imp@bsdimp.com \
    --cc=peter.maydell@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).