[PATCH] powerpc/net: Inline checksum wrappers and convert to scoped user access

Madhavan Srinivasan maddy at linux.ibm.com
Wed Apr 8 14:28:26 AEST 2026


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


More information about the Linuxppc-dev mailing list