aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2024-05-16 13:00:00 -0700
committerPalmer Dabbelt <palmer@rivosinc.com>2024-05-22 16:12:47 -0700
commit12cf29c6f900f04cd34e8867d4421aba49cd6a5d (patch)
treebb772156df7d8afbb24e7e32f3ad56a82d6a5bf3 /drivers/usb/cdns3/cdns3-pci-wrap.c
parent2aff5f955bbae311ca4b66e1dbd934e8f346d1f1 (diff)
parentad5643cf2f699989daa85d909403febd6712fccb (diff)
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 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions