- Aug 30, 2023
-
-
David Goulet authored
-
-
-
David Goulet authored
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Aug 28, 2023
-
-
David Goulet authored
-
David Goulet authored
-
David Goulet authored
-
Micah Elizabeth Scott authored
-
Micah Elizabeth Scott authored
Equi-X supports optionally allocating its solver memory using huge pages, to reduce the virtual memory subsystem overhead required to make the entire solver buffer live. Tor doesn't use this feature, since it seems to have no noticeable performance benefit at this time, but we still included code for it at compile time. To improve portability, this patch disables huge page support by default and enables it only in the cmake build system used for equix benchmarks. With this patch equix-bench still supports huge pages. Verified using strace that we're making the hugepage allocation. There's no fallback for huge pages, so Equi-X initialization will fail if they are requested and we don't support them for any runtime or compile-time reason. Addresses #40843 (NetBSD) but also prevents future porting issues related to huge pages.
-
Micah Elizabeth Scott authored
NetBSD includes the idea of a 'maximum protection' per-region, and an mprotect which exceeds the max protection will be denied. If we explicitly ask for a maximum which includes execute permission, we can successfully swap our code buffer's permissions between read-write and read-execute when each hash program is compiled. With this patch, the crypto/hashx tests pass on NetBSD 9. This addresses bug #40844
-
Micah Elizabeth Scott authored
This path in hashx_vm_alloc_huge() for OpenBSD and NetBSD always fails without checking its parameter. Fix the warning.
-
Micah Elizabeth Scott authored
As suggested by @wiz on #40843, let's add an explicit check to hashx_vm_alloc_huge() that avoids using a Linux-style default on NetBSD targets. This doesn't change the questionable Linux-style default, but a future patch will disable this code by default so it's not a portability liability. (This code is in hashx's VM layer but it's actually only relevant to equix.) This addresses bug #40843. Another patch will disable huge pages by default entirely, but this patch is sufficient to fix the NetBSD build.
-
Mike Perry authored
-
- Aug 25, 2023
-
-
Mike Perry authored
Just in case there are other instances hiding in the maze.
-
Mike Perry authored
-
David Goulet authored
-
David Goulet authored
-
David Goulet authored
reapply exit policy on reload Closes #40676 See merge request tpo/core/tor!735
-
David Goulet authored
Implement proposal 301-dont-vote-on-package-fingerprints.txt See merge request tpo/core/tor!743
-
David Goulet authored
-
-
David Goulet authored
-
David Goulet authored
fix lint clippy::arc_with_non_send_sync See merge request tpo/core/tor!747
-
Mike Perry authored
-
Mike Perry authored
Also add more info to leg dump.
-
trinity-1686a authored
-
trinity-1686a authored
-
- Aug 23, 2023
-
-
David Goulet authored
-
David Goulet authored
HTML in comment, what a bad idea... Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
-
David Goulet authored
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
-
David Goulet authored
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
-
David Goulet authored
-