diff options
author | Sami Tolvanen <[email protected]> | 2023-09-29 21:11:58 +0000 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-01-24 07:07:43 -0800 |
commit | 7df1ff5a5cd615815bc6fb4a3a981e9746935e59 (patch) | |
tree | 3c3fa9c7d7bb51a8eeef4de5eeb1de471fed4802 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 71a5849aedaa9ea028fc51ee74576cad61954743 (diff) |
riscv: mm: Update mmap_rnd_bits_max
ARCH_MMAP_RND_BITS_MAX is based on Sv39, which leaves a few
potential bits of mmap randomness on the table if we end up enabling
4/5-level paging. Update mmap_rnd_bits_max to take the final address
space size into account. This increases mmap_rnd_bits_max from 24 to
33 with Sv48/57.
Signed-off-by: Sami Tolvanen <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions