Commit ee16640e authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

[flags] PPC: fix mksnapshot on ppc64

mksnapshot is currently failing as FlagValues are not aligned
to kMinimumOSPageSize.

Change-Id: Ib6e88a3bd72af874022647ff9708024902f21a50
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3838773Reviewed-by: 's avatarMilad Farazmand <mfarazma@redhat.com>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#82567}
parent 85a5f5b6
......@@ -74,8 +74,9 @@ constexpr int kPageSizeBits = 18;
// MacOS on arm64 uses 16kB pages.
constexpr int kMinimumOSPageSize = 16 * 1024;
#elif defined(V8_OS_LINUX) && !defined(V8_OS_ANDROID) && \
defined(V8_HOST_ARCH_ARM64)
// Linux on arm64 (excluding android) can be configured for up to 64kB pages.
(defined(V8_HOST_ARCH_ARM64) || defined(V8_HOST_ARCH_PPC64))
// Linux on arm64 (excluding android) and PPC64 can be configured for up to 64kB
// pages.
constexpr int kMinimumOSPageSize = 64 * 1024;
#else
// Everything else uses 4kB pages.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment