Re: [PATCH 1/4] mm/page_table_check: Pass mm_struct to pxx_user_accessible_page()

From: David Hildenbrand (Arm)

Date: Thu Feb 26 2026 - 13:02:07 EST


On 2/23/26 12:53, Alexander Gordeev wrote:
> From: Tobias Huschle <huschle@xxxxxxxxxxxxx>
>
> 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.
>
> [agordeev@xxxxxxxxxxxxx: rephrased commit message, removed braces]
>
> Reviewed-by: Gerald Schaefer <gerald.schaefer@xxxxxxxxxxxxx>
> Signed-off-by: Tobias Huschle <huschle@xxxxxxxxxxxxx>
> Signed-off-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>
> ---

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David