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

David Hildenbrand (Arm) david at kernel.org
Thu Feb 26 09:04:04 PST 2026


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

Acked-by: David Hildenbrand (Arm) <david at kernel.org>

-- 
Cheers,

David



More information about the linux-arm-kernel mailing list