From: Andrew Morton <akpm@linux-foundation.org>
To: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>,
linux-s390@vger.kernel.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, x86@kernel.org
Subject: Re: [PATCH 1/4] mm/page_table_check: Pass mm_struct to pxx_user_accessible_page()
Date: Mon, 23 Feb 2026 10:13:35 -0800 [thread overview]
Message-ID: <20260223101335.aa3696d86341260e03989ac0@linux-foundation.org> (raw)
In-Reply-To: <68c2f6df2955033cbf1ccbd2b5c2816e72ac345c.1771845678.git.agordeev@linux.ibm.com>
On Mon, 23 Feb 2026 12:53:13 +0100 Alexander Gordeev <agordeev@linux.ibm.com> wrote:
> From: Tobias Huschle <huschle@linux.ibm.com>
>
> Unlike other architectures, s390 does not have means to
> distinguish kernel vs user page table entries - neither
> an entry itself, nor the address could be used for that.
> It is only the mm_struct that indicates whether an entry
> in question is mapped to a user space. So pass mm_struct
> to pxx_user_accessible_page() callbacks.
>
> ...
>
> arch/arm64/include/asm/pgtable.h | 6 +++---
> arch/riscv/include/asm/pgtable.h | 6 +++---
> arch/x86/include/asm/pgtable.h | 6 +++---
> mm/page_table_check.c | 15 ++++++---------
> 4 files changed, 15 insertions(+), 18 deletions(-)
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
I assume this can go into the s390 tree?
next prev parent reply other threads:[~2026-02-23 18:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 11:53 [PATCH 0/4] mm/pgtable: Support for page table check on s390 Alexander Gordeev
2026-02-23 11:53 ` [PATCH 1/4] mm/page_table_check: Pass mm_struct to pxx_user_accessible_page() Alexander Gordeev
2026-02-23 18:13 ` Andrew Morton [this message]
2026-02-23 11:53 ` [PATCH 2/4] s390/pgtable: Use set_pmd_bit() to invalidate PMD entry Alexander Gordeev
2026-02-23 11:53 ` [PATCH 3/4] s390/pgtable: Add s390 support for page table check Alexander Gordeev
2026-02-23 11:53 ` [PATCH 4/4] s390: Enable page table check for debug_defconfig Alexander Gordeev
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=20260223101335.aa3696d86341260e03989ac0@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=agordeev@linux.ibm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-s390@vger.kernel.org \
--cc=pasha.tatashin@soleen.com \
--cc=x86@kernel.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