Re: [PATCH] powerpc/net: Inline checksum wrappers and convert to scoped user access
From: Madhavan Srinivasan
Date: Wed Apr 08 2026 - 00:29:51 EST
On Tue, 10 Mar 2026 11:05:54 +0100, Christophe Leroy (CS GROUP) wrote:
> Commit 861574d51bbd ("powerpc/uaccess: Implement masked user access")
> provides optimised user access by avoiding the cost of access_ok().
>
> Convert csum_and_copy_to_user() and csum_and_copy_from_user() to
> scoped user access to benefit from masked user access.
>
> csum_and_copy_to_user() and csum_and_copy_from_user() are only
> called respectively by csum_and_copy_to_iter() and
> csum_and_copy_from_iter_full() and they are only called twice.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/net: Inline checksum wrappers and convert to scoped user access
https://git.kernel.org/powerpc/c/cae734710dd156e2fbb4d66cdb22bbd5080beb52
cheers