From: Michael Tokarev <mjt@tls.msk.ru>
To: Helge Deller <deller@gmx.de>, qemu-devel@nongnu.org
Cc: qemu-stable <qemu-stable@nongnu.org>
Subject: Re: [PULL 0/2] Linux user for v11 patches
Date: Tue, 24 Mar 2026 17:48:44 +0300 [thread overview]
Message-ID: <f9a0ac48-baab-4782-a5da-608b762b3a69@tls.msk.ru> (raw)
In-Reply-To: <57aa74f6-f28c-450a-a19d-15dc8403ef83@gmx.de>
On 24.03.2026 13:56, Helge Deller wrote:
> Am 24.03.26 um 07:19 schrieb Michael Tokarev:
>> On 24.03.2026 01:53, Richard Henderson wrote:
>>> 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.
>
> At least there is a reproducer here:
>
> https://gitlab.com/qemu-project/qemu/-/work_items/3105
Yes, this is what I used to test the change, which I mentioned
above as "testcase works". But it is a testcase for this particular
corner case only, - there might be more mmap-from-zero testcases
somewhere. But ok, that's enough for now.
Thanks,
/mjt
prev parent reply other threads:[~2026-03-24 14:49 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
2026-03-24 10:56 ` Helge Deller
2026-03-24 14:48 ` Michael Tokarev [this message]
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=f9a0ac48-baab-4782-a5da-608b762b3a69@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=deller@gmx.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.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