Changeset 277551 in webkit


Ignore:
Timestamp:
May 15, 2021, 4:54:52 PM (4 years ago)
Author:
berto@igalia.com
Message:

CeilingOnPageSize too low for Loongson CPUs
https://bugs.webkit.org/show_bug.cgi?id=221198
<rdar://problem/74089683>

Reviewed by Michael Catanzaro.

Increase the page size to 16KB in MIPS64.

  • wtf/PageBlock.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r277535 r277551  
     12021-05-15  Alberto Garcia  <berto@igalia.com>
     2
     3        CeilingOnPageSize too low for Loongson CPUs
     4        https://bugs.webkit.org/show_bug.cgi?id=221198
     5        <rdar://problem/74089683>
     6
     7        Reviewed by Michael Catanzaro.
     8
     9        Increase the page size to 16KB in MIPS64.
     10
     11        * wtf/PageBlock.h:
     12
    1132021-05-14  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Source/WTF/wtf/PageBlock.h

    r276583 r277551  
    4848//
    4949// Use 64 KiB for any unknown CPUs to be conservative.
    50 #if OS(DARWIN) || PLATFORM(PLAYSTATION) || CPU(MIPS)
     50#if OS(DARWIN) || PLATFORM(PLAYSTATION) || CPU(MIPS) || CPU(MIPS64)
    5151constexpr size_t CeilingOnPageSize = 16 * KB;
    5252#elif USE(64KB_PAGE_BLOCK) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN)
    5353constexpr size_t CeilingOnPageSize = 64 * KB;
    54 #elif OS(WINDOWS) || CPU(MIPS64) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
     54#elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
    5555constexpr size_t CeilingOnPageSize = 4 * KB;
    5656#else
Note: See TracChangeset for help on using the changeset viewer.