[all-commits] [llvm/llvm-project] fd9f04: tsan: fix broken aarch64_39/42 mappings and expand...

thurstond via All-commits all-commits at lists.llvm.org
Tue Jan 17 09:48:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd9f04a555ff7ba171b12b9d07e7ccc228219298
      https://github.com/llvm/llvm-project/commit/fd9f04a555ff7ba171b12b9d07e7ccc228219298
  Author: Thurston Dang <thurston at google.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_platform.h

  Log Message:
  -----------
  tsan: fix broken aarch64_39/42 mappings and expand them

The aarch64 39- and 42-bit mappings were broken: mappings to meta and shadow were not fully invertible. This CL introduces a working set of mappings, and also increases the size of some app regions:
* aarch64, 39-bit (2^39 == 512GB):
 - Low: (Old) 4GB -> (New) 20GB
 - Mid: 4GB -> 20GB
 - Heap: 4GB -> 12GB
 - High: 8GB -> 12GB
* aarch64, 42-bit (2^42 == 4TB):
 - Low: 64GB -> 128GB
 - Mid: 4GB -> 88GB
 - Heap: 64GB -> 192GB
 - High: 64GB

Additionally, this CL improves the code comments for all the linux aarch64 mappings.

Differential Revision: https://reviews.llvm.org/D141640




More information about the All-commits mailing list