summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-10-11 11:40:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-14 11:48:46 +0100
commitbd370c38e204a457508ab8e5742808af41ad903a (patch)
tree212cb024c03a10fb5c53e49f4543cebee40b00d8 /meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch
parent4eabaefafaf8f7e2b7b3b4fbad70007df8d5d560 (diff)
downloadpoky-bd370c38e204a457508ab8e5742808af41ad903a.tar.gz
webkitgtk: update 2.32.3 -> 2.34.0
(From OE-Core rev: 69208e6e5572858954a995cfdcb4c4404a22013c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch14
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 @@
1From 04e4999c6fa2e9810634745a07f1e380f27b8e61 Mon Sep 17 00:00:00 2001 1From 358a8f053c367aab7fba8ab059244e0530c7ff82 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 17 Mar 2021 13:24:57 -0700 3Date: Wed, 17 Mar 2021 13:24:57 -0700
4Subject: [PATCH] reduce thread stack and heap usage for javascriptcore on musl 4Subject: [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
27diff --git a/Source/JavaScriptCore/runtime/OptionsList.h b/Source/JavaScriptCore/runtime/OptionsList.h 27diff --git a/Source/JavaScriptCore/runtime/OptionsList.h b/Source/JavaScriptCore/runtime/OptionsList.h
28index bb6d2f1d..a6209742 100644 28index 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) \
63diff --git a/Source/WTF/wtf/Threading.h b/Source/WTF/wtf/Threading.h 63diff --git a/Source/WTF/wtf/Threading.h b/Source/WTF/wtf/Threading.h
64index 9495d6c1..190b3811 100644 64index 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__)