| ... | @@ -824,18 +824,22 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) { | ... | @@ -824,18 +824,22 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) { |
| 824 | .emscripten => 64 << 10, | 824 | .emscripten => 64 << 10, |
| 825 | .linux => switch (builtin.cpu.arch) { | 825 | .linux => switch (builtin.cpu.arch) { |
| 826 | // Linux/arch/*/Kconfig | 826 | // Linux/arch/*/Kconfig |
| | 827 | .alpha => 8 << 10, |
| 827 | .arc, .arceb => 4 << 10, | 828 | .arc, .arceb => 4 << 10, |
| 828 | .thumb, .thumbeb, .arm, .armeb => 4 << 10, | 829 | .thumb, .thumbeb, .arm, .armeb => 4 << 10, |
| 829 | .aarch64, .aarch64_be => 4 << 10, | 830 | .aarch64, .aarch64_be => 4 << 10, |
| 830 | .csky => 4 << 10, | 831 | .csky => 4 << 10, |
| 831 | .hexagon => 4 << 10, | 832 | .hexagon => 4 << 10, |
| | 833 | .hppa => 4 << 10, |
| 832 | .loongarch32, .loongarch64 => 4 << 10, | 834 | .loongarch32, .loongarch64 => 4 << 10, |
| 833 | .m68k => 4 << 10, | 835 | .m68k => 4 << 10, |
| | 836 | .microblaze, .microblazeel => 4 << 10, |
| 834 | .mips, .mipsel, .mips64, .mips64el => 4 << 10, | 837 | .mips, .mipsel, .mips64, .mips64el => 4 << 10, |
| 835 | .or1k => 8 << 10, | 838 | .or1k => 8 << 10, |
| 836 | .powerpc, .powerpc64, .powerpc64le, .powerpcle => 4 << 10, | 839 | .powerpc, .powerpc64, .powerpc64le, .powerpcle => 4 << 10, |
| 837 | .riscv32, .riscv64 => 4 << 10, | 840 | .riscv32, .riscv64 => 4 << 10, |
| 838 | .s390x => 4 << 10, | 841 | .s390x => 4 << 10, |
| | 842 | .sh, .sheb => 4 << 10, |
| 839 | .sparc => 4 << 10, | 843 | .sparc => 4 << 10, |
| 840 | .sparc64 => 8 << 10, | 844 | .sparc64 => 8 << 10, |
| 841 | .x86, .x86_64 => 4 << 10, | 845 | .x86, .x86_64 => 4 << 10, |
| ... | @@ -972,18 +976,22 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) { | ... | @@ -972,18 +976,22 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) { |
| 972 | .emscripten => 64 << 10, | 976 | .emscripten => 64 << 10, |
| 973 | .linux => switch (builtin.cpu.arch) { | 977 | .linux => switch (builtin.cpu.arch) { |
| 974 | // Linux/arch/*/Kconfig | 978 | // Linux/arch/*/Kconfig |
| | 979 | .alpha => 8 << 10, |
| 975 | .arc, .arceb => 16 << 10, | 980 | .arc, .arceb => 16 << 10, |
| 976 | .thumb, .thumbeb, .arm, .armeb => 4 << 10, | 981 | .thumb, .thumbeb, .arm, .armeb => 4 << 10, |
| 977 | .aarch64, .aarch64_be => 64 << 10, | 982 | .aarch64, .aarch64_be => 64 << 10, |
| 978 | .csky => 4 << 10, | 983 | .csky => 4 << 10, |
| 979 | .hexagon => 256 << 10, | 984 | .hexagon => 256 << 10, |
| | 985 | .hppa => 64 << 10, |
| 980 | .loongarch32, .loongarch64 => 64 << 10, | 986 | .loongarch32, .loongarch64 => 64 << 10, |
| 981 | .m68k => 8 << 10, | 987 | .m68k => 8 << 10, |
| | 988 | .microblaze, .microblazeel => 4 << 10, |
| 982 | .mips, .mipsel, .mips64, .mips64el => 64 << 10, | 989 | .mips, .mipsel, .mips64, .mips64el => 64 << 10, |
| 983 | .or1k => 8 << 10, | 990 | .or1k => 8 << 10, |
| 984 | .powerpc, .powerpc64, .powerpc64le, .powerpcle => 256 << 10, | 991 | .powerpc, .powerpc64, .powerpc64le, .powerpcle => 256 << 10, |
| 985 | .riscv32, .riscv64 => 4 << 10, | 992 | .riscv32, .riscv64 => 4 << 10, |
| 986 | .s390x => 4 << 10, | 993 | .s390x => 4 << 10, |
| | 994 | .sh, .sheb => 64 << 10, |
| 987 | .sparc => 4 << 10, | 995 | .sparc => 4 << 10, |
| 988 | .sparc64 => 8 << 10, | 996 | .sparc64 => 8 << 10, |
| 989 | .x86, .x86_64 => 4 << 10, | 997 | .x86, .x86_64 => 4 << 10, |