| author | |
| committer | |
| log | 5245c13a8a46520127600845f1c9ab5bca42ded5 |
| tree | 7a83df69695a779f9a490c879000c984a804169c |
| parent | f6c5f8b79908d6c1550fe535ceb26d1d8944c197 |
| signature |
https://bugzilla.kernel.org/show_bug.cgi?id=2218201 files changed, 1 insertions(+), 0 deletions(-)
lib/std/heap/PageAllocator.zig+1| ... | ... | @@ -24,6 +24,7 @@ pub const vtable: Allocator.VTable = .{ |
| 24 | 24 | /// that don't provide a hint (for security reasons, but it serves our needs |
| 25 | 25 | /// too). |
| 26 | 26 | const enable_hints = switch (builtin.target.os.tag) { |
| 27 | .linux => !builtin.target.cpu.arch.isSPARC(), // https://bugzilla.kernel.org/show_bug.cgi?id=221820 | |
| 27 | 28 | .openbsd => false, |
| 28 | 29 | else => true, |
| 29 | 30 | }; |