[embedded-builtins] [cros] Place embedded builtins in huge page text
On ChromeOS platform, transparent hugepage text is enabled by default. This CL places embedded builtins into the hugepage text area to reduce ITLB miss. Bug: v8:6666 Change-Id: I09f1734b02d644658a31e2d3c22c2319be12b79f Reviewed-on: https://chromium-review.googlesource.com/1122156 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Kanghua Yu <kanghua.yu@intel.com> Cr-Commit-Position: refs/heads/master@{#54621}
This commit is contained in:
parent
f25848800f
commit
082aa5fc4a
@ -31,7 +31,11 @@
|
||||
#else // !MACOSX && !WIN && !AIX
|
||||
#define V8_ASM_MANGLE_LABEL ""
|
||||
#define V8_ASM_RODATA_SECTION ".section .rodata\n"
|
||||
#if defined(OS_CHROMEOS) // ChromeOS
|
||||
#define V8_ASM_TEXT_SECTION ".section .text.hot.embedded\n"
|
||||
#else
|
||||
#define V8_ASM_TEXT_SECTION ".section .text\n"
|
||||
#endif
|
||||
#if defined(V8_TARGET_ARCH_MIPS) || defined(V8_TARGET_ARCH_MIPS64)
|
||||
#define V8_ASM_DECLARE(NAME) ".global " V8_ASM_MANGLE_LABEL NAME "\n"
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user