From: Michael Tokarev <mjt@tls.msk.ru>
To: Richard Henderson <richard.henderson@linaro.org>,
qemu-devel@nongnu.org, Helge Deller <deller@gmx.de>
Cc: Razvan Ghiorghe <razvanghiorghe16@gmail.com>,
qemu-stable <qemu-stable@nongnu.org>
Subject: Re: [PULL 0/2] Linux user for v11 patches
Date: Tue, 24 Mar 2026 09:19:30 +0300 [thread overview]
Message-ID: <ff2edb88-fab7-43e9-b3f5-5cfcddb09cc0@tls.msk.ru> (raw)
In-Reply-To: <b20eb2a7-1386-477e-b3f7-e5ddffdd62ca@linaro.org>
On 24.03.2026 01:53, Richard Henderson wrote:
> On 3/23/26 17:52, Michael Tokarev wrote:
>> On 16.03.2026 20:00, Helge Deller wrote:
>>> On 3/16/26 14:43, Michael Tokarev wrote:
>>>> On 13.03.2026 21:30, Helge Deller wrote:
>>>>
>>>>> Razvan Ghiorghe (2):
>>>>> linux-user: Fix zero_bss for RX PT_LOAD segments
>>>>> linux-user: fix mremap with old_size=0 for shared mappings
>>>>
>>>> This looks like qemu-stable material, is it not?
>>>
>>> Yes.
>>
>> ..with one caveat: mremap with old_size=0 fix doesn't apply to 10.0,
>> the current LTS stable series, because 10.0.x doesn't have f55fc1c092
>> "accel/tcg: Add clear_flags argument to page_set_flags", because of this:
>>
>> + page_set_flags(new_addr, new_addr + new_size - 1,
>> + prot | PAGE_VALID, PAGE_VALID);
>>
>> What would be the correct construct for this for 10.0.x?
>> (Adding rth to Cc list).
>
> Probably
>
> page_set_flags(new_addr, new_addr + new_size - 1,
> prot | PAGE_VALID | PAGE_RESET);
>
Well, at least the testcase works with this version. Thank you!
BTW, do we have another testcase for this scenario somewhere,
like in LTP or something? Looking at linux test project I don't
see this case covered.
/mjt
next prev parent reply other threads:[~2026-03-24 6:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-13 18:30 [PULL 0/2] Linux user for v11 patches Helge Deller
2026-03-13 18:30 ` [PULL 1/2] linux-user: Fix zero_bss for RX PT_LOAD segments Helge Deller
2026-03-13 18:30 ` [PULL 2/2] linux-user: fix mremap with old_size=0 for shared mappings Helge Deller
2026-03-16 13:06 ` [PULL 0/2] Linux user for v11 patches Peter Maydell
2026-03-16 13:43 ` Michael Tokarev
2026-03-16 17:00 ` Helge Deller
2026-03-23 7:52 ` Michael Tokarev
2026-03-23 22:53 ` Richard Henderson
2026-03-24 6:19 ` Michael Tokarev [this message]
2026-03-24 10:56 ` Helge Deller
2026-03-24 14:48 ` Michael Tokarev
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=ff2edb88-fab7-43e9-b3f5-5cfcddb09cc0@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=deller@gmx.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=razvanghiorghe16@gmail.com \
--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