sync patches with chromium (v8 memory usage and pledge related)
ok sthen@
This commit is contained in:
parent
f96bdb4815
commit
c328c95c7c
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.87 2019/03/13 17:24:30 robert Exp $
|
||||
# $OpenBSD: Makefile,v 1.88 2019/04/07 10:01:46 robert Exp $
|
||||
|
||||
.include <bsd.port.arch.mk>
|
||||
|
||||
@ -12,7 +12,7 @@ DPB_PROPERTIES+= lonesome
|
||||
COMMENT= Iridium browser
|
||||
|
||||
V= 2018.11.71
|
||||
REVISION= 3
|
||||
REVISION= 4
|
||||
|
||||
DISTNAME= iridium-browser-${V}
|
||||
PKGNAME= iridium-${V}
|
||||
|
@ -1 +1 @@
|
||||
rpath wpath cpath stdio tmppath dns inet flock unix proc prot_exec tty sendfd recvfd exec mcast ps drm fattr route
|
||||
rpath wpath cpath stdio tmppath dns inet flock unix proc prot_exec tty sendfd recvfd exec mcast ps drm fattr route getpw vminfo
|
||||
|
@ -1,4 +1,8 @@
|
||||
$OpenBSD: patch-base_files_file_util_posix_cc,v 1.1 2019/03/13 17:25:14 robert Exp $
|
||||
$OpenBSD: patch-base_files_file_util_posix_cc,v 1.2 2019/04/07 10:01:46 robert Exp $
|
||||
|
||||
- to help unveil(2) try to create the directory elements
|
||||
by ignoring ENOENT except for the last element which we
|
||||
actually care about
|
||||
|
||||
Index: base/files/file_util_posix.cc
|
||||
--- base/files/file_util_posix.cc.orig
|
||||
|
27
www/iridium/patches/patch-v8_src_globals_h
Normal file
27
www/iridium/patches/patch-v8_src_globals_h
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-v8_src_globals_h,v 1.10 2019/04/07 10:01:46 robert Exp $
|
||||
|
||||
Index: v8/src/globals.h
|
||||
--- v8/src/globals.h.orig
|
||||
+++ v8/src/globals.h
|
||||
@@ -153,7 +153,7 @@ constexpr int kDoubleSizeLog2 = 3;
|
||||
// ARM64 only supports direct calls within a 128 MB range.
|
||||
constexpr size_t kMaxWasmCodeMemory = 128 * MB;
|
||||
#else
|
||||
-constexpr size_t kMaxWasmCodeMemory = 1024 * MB;
|
||||
+constexpr size_t kMaxWasmCodeMemory = 128 * MB;
|
||||
#endif
|
||||
|
||||
#if V8_HOST_ARCH_64_BIT
|
||||
@@ -166,10 +166,10 @@ constexpr bool kRequiresCodeRange = true;
|
||||
constexpr size_t kMaximalCodeRangeSize = 512 * MB;
|
||||
constexpr size_t kCodeRangeAreaAlignment = 64 * KB; // OS page on PPC Linux
|
||||
#elif V8_TARGET_ARCH_ARM64
|
||||
-constexpr size_t kMaximalCodeRangeSize = 128 * MB;
|
||||
+constexpr size_t kMaximalCodeRangeSize = 32 * MB;
|
||||
constexpr size_t kCodeRangeAreaAlignment = 4 * KB; // OS page.
|
||||
#else
|
||||
-constexpr size_t kMaximalCodeRangeSize = 128 * MB;
|
||||
+constexpr size_t kMaximalCodeRangeSize = 32 * MB;
|
||||
constexpr size_t kCodeRangeAreaAlignment = 4 * KB; // OS page.
|
||||
#endif
|
||||
#if V8_OS_WIN
|
Loading…
x
Reference in New Issue
Block a user