diff options
author | 2024-05-16 13:00:00 -0700 | |
---|---|---|
committer | 2024-05-22 16:12:47 -0700 | |
commit | 12cf29c6f900f04cd34e8867d4421aba49cd6a5d (patch) | |
tree | bb772156df7d8afbb24e7e32f3ad56a82d6a5bf3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | riscv: do not select MODULE_SECTIONS by default (diff) | |
parent | riscv: Define TASK_SIZE_MAX for __access_ok() (diff) | |
download | wireguard-linux-12cf29c6f900f04cd34e8867d4421aba49cd6a5d.tar.xz wireguard-linux-12cf29c6f900f04cd34e8867d4421aba49cd6a5d.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions