[all-commits] [llvm/llvm-project] 12e20a: [scudo] Do not consider releasing unallocated pages

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Nov 29 18:35:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12e20a446e4df75a6aa147dd322ba6a34545c2bc
      https://github.com/llvm/llvm-project/commit/12e20a446e4df75a6aa147dd322ba6a34545c2bc
  Author: Petr Hosek <phosek at google.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/primary64.h

  Log Message:
  -----------
  [scudo] Do not consider releasing unallocated pages

We already know that there are no free blocks above Region->AllocatedUser.
This results in a smaller RegionPageMap and faster releaseFreeMemoryToOS.

Patch By: fabio-d
Differential Revision: https://reviews.llvm.org/D138794




More information about the All-commits mailing list