Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Darwin] Use vm_kernel_page_size for WTF::pageSize().
<https://webkit.org/b/154726> Reviewed by Antti Koivisto. Source/WebKit2: Use WTF::pageSize() for the SharedMemory page size. * Platform/mac/SharedMemoryMac.cpp: (WebKit::SharedMemory::systemPageSize): Source/WTF: Make sure we use the right VM page size on Darwin systems. On devices where the native page size is 4 KB, it's both possible and profitable to madvise in smaller chunks. * wtf/PageBlock.cpp: (WTF::systemPageSize): Canonical link: https://commits.webkit.org/172815@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Andreas Kling
committed
Feb 26, 2016
1 parent
b5bc891
commit e23af79083e7710796e82646c501f83c8f02a27a
Showing
4 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters