[all-commits] [llvm/llvm-project] bd0fc4: [sanitizer_common] Use 38-bit mmap range for Fuchs...

PiJoules via All-commits all-commits at lists.llvm.org
Tue Oct 17 17:03:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd0fc480df2f04b579ecac60cd9709c570b34f1f
      https://github.com/llvm/llvm-project/commit/bd0fc480df2f04b579ecac60cd9709c570b34f1f
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_platform.h

  Log Message:
  -----------
  [sanitizer_common] Use 38-bit mmap range for Fuchsia (#69387)

46cb8d9a325233ac11ed5e90367c43774294d87e unconditionally changed the
mmap range to 2^48 for all riscv sanitizers. This changes the allocator
tunings for the 32-bit allocator for riscv and led to a severe
performance regression for our lsan tests. This effectively revers the
tuning change but only for Fuchsia.

Once we enable the 64-bit allocator for everything riscv, this value
will be irrelevant since it's only relevant for the 32-bit allocator.




More information about the All-commits mailing list