Title: [277551] trunk/Source/WTF
- Revision
- 277551
- Author
- [email protected]
- Date
- 2021-05-15 16:54:52 -0700 (Sat, 15 May 2021)
Log 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:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (277550 => 277551)
--- trunk/Source/WTF/ChangeLog 2021-05-15 23:03:02 UTC (rev 277550)
+++ trunk/Source/WTF/ChangeLog 2021-05-15 23:54:52 UTC (rev 277551)
@@ -1,3 +1,15 @@
+2021-05-15 Alberto Garcia <[email protected]>
+
+ 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:
+
2021-05-14 Chris Dumez <[email protected]>
Drop FileSystem::fileMetadata() / fileMetadataFollowingSymlinks()
Modified: trunk/Source/WTF/wtf/PageBlock.h (277550 => 277551)
--- trunk/Source/WTF/wtf/PageBlock.h 2021-05-15 23:03:02 UTC (rev 277550)
+++ trunk/Source/WTF/wtf/PageBlock.h 2021-05-15 23:54:52 UTC (rev 277551)
@@ -47,11 +47,11 @@
// 64 KiB. (Apple uses 16 KiB.)
//
// Use 64 KiB for any unknown CPUs to be conservative.
-#if OS(DARWIN) || PLATFORM(PLAYSTATION) || CPU(MIPS)
+#if OS(DARWIN) || PLATFORM(PLAYSTATION) || CPU(MIPS) || CPU(MIPS64)
constexpr size_t CeilingOnPageSize = 16 * KB;
#elif USE(64KB_PAGE_BLOCK) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN)
constexpr size_t CeilingOnPageSize = 64 * KB;
-#elif OS(WINDOWS) || CPU(MIPS64) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
+#elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
constexpr size_t CeilingOnPageSize = 4 * KB;
#else
#error Must set CeilingOnPageSize in PageBlock.h when adding a new CPU architecture!
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes