[PATCH 1/4] mm/page_table_check: Pass mm_struct to pxx_user_accessible_page()
Andrew Morton
akpm at linux-foundation.org
Mon Feb 23 10:13:35 PST 2026
On Mon, 23 Feb 2026 12:53:13 +0100 Alexander Gordeev <agordeev at linux.ibm.com> wrote:
> From: Tobias Huschle <huschle at 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 at linux-foundation.org>
I assume this can go into the s390 tree?
More information about the linux-arm-kernel
mailing list