On Wed, 03 Jun 2026 12:20:14 +0200, Christophe Leroy (CS GROUP) wrote:
> With the implementation of masked user access, we always have a memory
> gap between user memory space and kernel memory space, so use it to
> simplify access_ok() by relying on access fault in case of an access
> in the gap.
>
> Most of the time the size is known at build time.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Simplify access_ok()
https://git.kernel.org/powerpc/c/90b45dbf59d50e32c4f86072545ff44bec9cb28e
cheers