[webkit-changes] [WebKit/WebKit] 0301a8: [PlayStation] Introduce VMTag

Yoshiaki JITSUKAWA noreply at github.com
Thu Oct 13 20:58:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0301a8ca4689f1e2ebf6bdc4672e1fd574f86ccc
      https://github.com/WebKit/WebKit/commit/0301a8ca4689f1e2ebf6bdc4672e1fd574f86ccc
  Author: Yoshiaki Jitsukawa <yoshiaki.jitsukawa at sony.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M Source/bmalloc/bmalloc/BVMTags.h
    M Source/bmalloc/libpas/src/libpas/pas_page_malloc.c
    M Source/cmake/OptionsPlayStation.cmake

  Log Message:
  -----------
  [PlayStation] Introduce VMTag
https://bugs.webkit.org/show_bug.cgi?id=246434

Reviewed by Yusuke Suzuki.

Introduce VMTags to PlayStation as well in order to help
inspect memory usage. VMTags are passed to mmap_np() as
a file descriptor. To make all mmap() calls detour to mmap_np()
we set --wrap=mmap linker option to executables and shared libraries.

* Source/bmalloc/bmalloc/BVMTags.h:
* Source/bmalloc/libpas/src/libpas/pas_page_malloc.c:
(pas_page_malloc_try_allocate_without_deallocating_padding):
* Source/cmake/OptionsPlayStation.cmake:

Canonical link: https://commits.webkit.org/255523@main




More information about the webkit-changes mailing list