[all-commits] [llvm/llvm-project] ee7b62: scudo: Don't memset previously released cached pag...

pcc via All-commits all-commits at lists.llvm.org
Thu Nov 5 09:25:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ee7b629df27113c2752814efdec960042f799b03
      https://github.com/llvm/llvm-project/commit/ee7b629df27113c2752814efdec960042f799b03
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

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

  Log Message:
  -----------
  scudo: Don't memset previously released cached pages in the secondary allocator.

There is no need to memset released pages because they are already
zero. On db845c, before:

BM_stdlib_malloc_free_default/131072      34562 ns        34547 ns        20258 bytes_per_second=3.53345G/s

after:

BM_stdlib_malloc_free_default/131072      29618 ns        29589 ns        23485 bytes_per_second=4.12548G/s

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




More information about the All-commits mailing list