diff options
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch b/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch index f71f8452fd..d8d36fad6b 100644 --- a/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch +++ b/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 04e4999c6fa2e9810634745a07f1e380f27b8e61 Mon Sep 17 00:00:00 2001 | 1 | From 358a8f053c367aab7fba8ab059244e0530c7ff82 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 17 Mar 2021 13:24:57 -0700 | 3 | Date: Wed, 17 Mar 2021 13:24:57 -0700 |
4 | Subject: [PATCH] reduce thread stack and heap usage for javascriptcore on musl | 4 | Subject: [PATCH] reduce thread stack and heap usage for javascriptcore on musl |
@@ -25,10 +25,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
25 | 2 files changed, 19 insertions(+), 3 deletions(-) | 25 | 2 files changed, 19 insertions(+), 3 deletions(-) |
26 | 26 | ||
27 | diff --git a/Source/JavaScriptCore/runtime/OptionsList.h b/Source/JavaScriptCore/runtime/OptionsList.h | 27 | diff --git a/Source/JavaScriptCore/runtime/OptionsList.h b/Source/JavaScriptCore/runtime/OptionsList.h |
28 | index bb6d2f1d..a6209742 100644 | 28 | index a0c2170e..9e107af7 100644 |
29 | --- a/Source/JavaScriptCore/runtime/OptionsList.h | 29 | --- a/Source/JavaScriptCore/runtime/OptionsList.h |
30 | +++ b/Source/JavaScriptCore/runtime/OptionsList.h | 30 | +++ b/Source/JavaScriptCore/runtime/OptionsList.h |
31 | @@ -71,6 +71,18 @@ JS_EXPORT_PRIVATE bool canUseJITCage(); | 31 | @@ -77,6 +77,18 @@ bool canUseWebAssemblyFastMemory(); |
32 | // On instantiation of the first VM instance, the Options will be write protected | 32 | // On instantiation of the first VM instance, the Options will be write protected |
33 | // and cannot be modified thereafter. | 33 | // and cannot be modified thereafter. |
34 | 34 | ||
@@ -47,7 +47,7 @@ index bb6d2f1d..a6209742 100644 | |||
47 | #define FOR_EACH_JSC_OPTION(v) \ | 47 | #define FOR_EACH_JSC_OPTION(v) \ |
48 | v(Bool, useKernTCSM, defaultTCSMValue(), Normal, "Note: this needs to go before other options since they depend on this value.") \ | 48 | v(Bool, useKernTCSM, defaultTCSMValue(), Normal, "Note: this needs to go before other options since they depend on this value.") \ |
49 | v(Bool, validateOptions, false, Normal, "crashes if mis-typed JSC options were passed to the VM") \ | 49 | v(Bool, validateOptions, false, Normal, "crashes if mis-typed JSC options were passed to the VM") \ |
50 | @@ -86,9 +98,9 @@ JS_EXPORT_PRIVATE bool canUseJITCage(); | 50 | @@ -92,9 +104,9 @@ bool canUseWebAssemblyFastMemory(); |
51 | \ | 51 | \ |
52 | v(Bool, reportMustSucceedExecutableAllocations, false, Normal, nullptr) \ | 52 | v(Bool, reportMustSucceedExecutableAllocations, false, Normal, nullptr) \ |
53 | \ | 53 | \ |
@@ -61,11 +61,11 @@ index bb6d2f1d..a6209742 100644 | |||
61 | v(Bool, crashOnDisallowedVMEntry, ASSERT_ENABLED, Normal, "Forces a crash if we attempt to enter the VM when disallowed") \ | 61 | v(Bool, crashOnDisallowedVMEntry, ASSERT_ENABLED, Normal, "Forces a crash if we attempt to enter the VM when disallowed") \ |
62 | v(Bool, crashIfCantAllocateJITMemory, false, Normal, nullptr) \ | 62 | v(Bool, crashIfCantAllocateJITMemory, false, Normal, nullptr) \ |
63 | diff --git a/Source/WTF/wtf/Threading.h b/Source/WTF/wtf/Threading.h | 63 | diff --git a/Source/WTF/wtf/Threading.h b/Source/WTF/wtf/Threading.h |
64 | index 9495d6c1..190b3811 100644 | 64 | index 178f9808..95ec5a85 100644 |
65 | --- a/Source/WTF/wtf/Threading.h | 65 | --- a/Source/WTF/wtf/Threading.h |
66 | +++ b/Source/WTF/wtf/Threading.h | 66 | +++ b/Source/WTF/wtf/Threading.h |
67 | @@ -60,6 +60,10 @@ | 67 | @@ -67,6 +67,10 @@ |
68 | #include <dispatch/dispatch.h> | 68 | #undef None |
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | +#if OS(LINUX) && !defined(__GLIBC__) | 71 | +#if OS(LINUX) && !defined(__GLIBC__) |