memcheck/tests/sh-mem-random.c: Set huge_addr to 240GB
commit738af55f1b12a06f76943ca4afb9ba9ec3603ea5
authorMark Wielaard <mark@klomp.org>
Tue, 24 Dec 2024 18:11:17 +0000 (24 19:11 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 25 Dec 2024 18:22:29 +0000 (25 19:22 +0100)
tree7a2908e68877493a4a82418947b0685cd352c658
parent4e42cc21d67d9c07ee90cd08abbacf960d75c72c
memcheck/tests/sh-mem-random.c: Set huge_addr to 240GB

https://www.kernel.org/doc/html/next/riscv/vm-layout.html
Says RISC-V Linux Kernel SV39 user-space virtual memory ends at 256GB.
So try at 240GB. This seems a reasonable value for other arches too.

https://bugs.kde.org/show_bug.cgi?id=468575#c78
memcheck/tests/sh-mem-random.c