diff options
author | Charlie Jenkins <charlie@rivosinc.com> | 2024-08-26 09:36:47 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-08-29 06:03:29 -0700 |
commit | 2116988d5372aec51f8c4fb85bf8e305ecda47a0 (patch) | |
tree | 7460dbca08a8028a8df2024797be83a2f433a752 /tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c | |
parent | 83dae72ac0382693540a055ec6210dd3691a8df6 (diff) |
riscv: mm: Do not restrict mmap address based on hint
The hint address should not forcefully restrict the addresses returned
by mmap as this causes mmap to report ENOMEM when there is memory still
available.
Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Fixes: b5b4287accd7 ("riscv: mm: Use hint address in mmap if available")
Fixes: add2cc6b6515 ("RISC-V: mm: Restrict address space for sv39,sv48,sv57")
Closes: https://lore.kernel.org/linux-kernel/ZbxTNjQPFKBatMq+@ghost/T/#mccb1890466bf5a488c9ce7441e57e42271895765
Link: https://lore.kernel.org/r/20240826-riscv_mmap-v1-3-cd8962afe47f@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions