summaryrefslogtreecommitdiff
path: root/arch/riscv/boot/install.sh
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2024-05-16 23:00:00 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2024-05-23 02:12:47 +0300
commit12cf29c6f900f04cd34e8867d4421aba49cd6a5d (patch)
treebb772156df7d8afbb24e7e32f3ad56a82d6a5bf3 /arch/riscv/boot/install.sh
parent2aff5f955bbae311ca4b66e1dbd934e8f346d1f1 (diff)
parentad5643cf2f699989daa85d909403febd6712fccb (diff)
downloadlinux-12cf29c6f900f04cd34e8867d4421aba49cd6a5d.tar.xz
Merge patch series "riscv: access_ok() optimization"
Samuel Holland <samuel.holland@sifive.com> says: This series optimizes access_ok() by defining TASK_SIZE_MAX. At Alex's suggestion, I also tried making TASK_SIZE constant (specifically by making PGDIR_SHIFT a variable instead of a ternary expression, then replacing the load with an immediate using ALTERNATIVE). This appeared to slightly improve performance on some implementations (C906) but regressed it on others (FU740). So I am leaving further optimizations to a later series. * b4-shazam-merge: riscv: Define TASK_SIZE_MAX for __access_ok() riscv: Remove PGDIR_SIZE_L3 and TASK_SIZE_MIN Link: https://lore.kernel.org/r/20240327143858.711792-1-samuel.holland@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/boot/install.sh')
0 files changed, 0 insertions, 0 deletions