authorgravatar for 124872+jedisct1@users.noreply.github.comFrank Denis <124872+jedisct1@users.noreply.github.com> 2020-11-03 11:10:25+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-11-03 17:29:20-05:00
log342ba960f77010fd195dfb319f97c7329e090a4d
tree2b755f1d4a372f110e0039f338abdf377e5d9ca2
parentede41759be736a1c4ce2a6dbdd8f2d0b5afceb5f

sparc64 has a 8Kb page size


1 files changed, 1 insertions(+), 0 deletions(-)

lib/std/mem.zig+1
...@@ -20,6 +20,7 @@ pub const page_size = switch (builtin.arch) {...@@ -20,6 +20,7 @@ pub const page_size = switch (builtin.arch) {
20 .macos, .ios, .watchos, .tvos => 16 * 1024,20 .macos, .ios, .watchos, .tvos => 16 * 1024,
21 else => 4 * 1024,21 else => 4 * 1024,
22 },22 },
23 .sparcv9 => 8 * 1024,
23 else => 4 * 1024,24 else => 4 * 1024,
24};25};
2526