-
Notifications
You must be signed in to change notification settings - Fork 2
[PW_SID:1029612] riscv: Optimize user copy with efficient unaligned access support #1171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: workflow__riscv__fixes
Are you sure you want to change the base?
Conversation
Introduce an optimized path in fallback_scalar_usercopy_sum_enabled for systems that support efficient unaligned memory accesses (i.e., when CONFIG_RISCV_EFFICIENT_UNALIGNED_ACCESS is enabled). This eliminates the overhead of bit-shifting and OR-ing partial words to reconstruct misaligned values, which was previously required for handling protential alignments. Medium-sized buffers between 8 and 9*SZREG also see noticeable improvement, as the original path would fall back to byte-by-byte copying. Signed-off-by: Mao Han <[email protected]> Signed-off-by: Linux RISC-V bot <[email protected]>
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
|
Patch 1: "[1/1] riscv: Optimize user copy with efficient unaligned access support" |
PR for series 1029612 applied to workflow__riscv__fixes
Name: riscv: Optimize user copy with efficient unaligned access support
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1029612
Version: 1