1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-26 07:55:01 +00:00
Commit Graph

9934 Commits

Author SHA1 Message Date
Dimitry Andric
415efcecd8 Merge llvm-project release/19.x llvmorg-19.1.4-0-gaadaa00de76e
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.4-0-gaadaa00de76e,
a.k.a. 19.1.4 release.

PR:		280562
MFC after:	1 month
2024-11-21 18:46:18 +01:00
Mark Johnston
4ff291ebe8 vfs: Fix vop_stdis_text()
atomic(9) primitives are documented as operating on unsigned types.
Here, we need a cast to avoid a tautological comparison.

Add a regression test for access(2), which was affected by the bug.

Reported by:	NetApp
Reviewed by:	kib
Fixes:		e511bd1406 ("vfs: fully lockless v_writecount adjustment")
MFC after:	1 week
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D47672
2024-11-19 21:03:14 +00:00
Adrian Chadd
8b51df0d4f wpa: add support for GCMP-128 and BIP-128.
If net80211 announces support for GCMP and/or BIP then configure it
appropriately.

GCMP will be used by WPA3 in the future, and BIP is required for
802.11w/MFP (which is also required by WPA3.)

Differential Revision: https://reviews.freebsd.org/D46499
2024-11-17 10:04:58 -08:00
Dimitry Andric
d686ce931c Merge llvm-project release/19.x llvmorg-19.1.3-0-gab51eccf88f5
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.3-0-gab51eccf88f5,
a.k.a. 19.1.3 release.

PR:		280562
MFC after:	1 month
2024-11-08 17:45:31 +01:00
Ed Maste
ba10bfe509 libbsm: honour AU_OFLAG_NORESOLVE
AU_OFLAG_NORESOLVE is documented as "Leave user and group IDs in their
numeric form" but it was not actually tested.

OpenBSM pull request at https://github.com/openbsm/openbsm/pull/85

PR:		282271
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47263
2024-11-03 13:37:24 -05:00
Ed Maste
2dccd21949 libcxxrt: Update to upstream 6f2fdfebcd62
Interesting fixes:

3cbfe5a556fe Avoid noreturn warning on terminate()
2024-10-31 11:51:29 -04:00
Dimitry Andric
f3457ed942 Tentatively merge llvm fix for buildworld WITH_ASAN
Building world using WITH_ASAN results in an assertion when compiling
certain source files referencing ifuncs:

  Assertion failed: (isa<Function>(Callee) || isa<GlobalAlias>(Callee)), function analyzeAllUses, file /root/freebsd/contrib/llvm-project/llvm/lib/Analysis/StackSafetyAnalysis.cpp, line 514.

This was already reported upstream a while ago, in
<https://github.com/llvm/llvm-project/issues/87923>, but now there is
finally a candidate fix, which seems trivial so I am importing it right
away.

Reported by:	markj
PR:		280936
Pull Request:	https://github.com/llvm/llvm-project/pull/113841
MFC after:	3 days
2024-10-28 18:34:58 +01:00
Robert Clausecker
7ed159c6cc contrib/mandoc: add -isoC-2024 and -svid1 to mdoc(7)
C23 (ISO/IEC 9899:2024) is not out yet, but will be shortly.
SVID1 is needed for the history section of memccpy(3).

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D47284
2024-10-26 20:11:02 +02:00
Dimitry Andric
bc9e19dce0 Fix buildworld with gcc 12 after llvm-19 import
Unfortunately gcc 12's is not yet capable of compiling all of libc++
19's C++23 code, which results in errors similar to:

  /usr/src/freebsd/src/contrib/llvm-project/libcxx/include/__algorithm/ranges_contains.h:41:3: error: 'static constexpr bool std::__1::ranges::__contains::__fn::operator()(_Iter, _Sent, const _Type&, _Proj)' must be a non-static member function
     41 |   operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __proj = {}) {
        |   ^~~~~~~~
  /usr/src/freebsd/src/contrib/llvm-project/libcxx/include/__algorithm/ranges_contains.h:48:3: error: 'static constexpr bool std::__1::ranges::__contains::__fn::operator()(_Range&&, const _Type&, _Proj)' must be a non-static member function
     48 |   operator()(_Range&& __range, const _Type& __value, _Proj __proj = {}) {
        |   ^~~~~~~~

Until we can get rid of gcc 12, work around this by making it compile
libc++ in C++20 mode instead.

NOTE: The resulting libc++ library will not be C++23 compatible! Please
try to avoid shipping it, and use gcc 13 instead, if you must use gcc.

PR:		280562
MFC after:	3 days
2024-10-25 18:08:32 +02:00
Dimitry Andric
a5b1eecbed Apply workaround for building llvm-project with WITHOUT_LLVM_ASSERTIONS
Some internal checking functions should only be declared when both
NDEBUG and LLVM_ENABLE_ABI_BREAKING_CHECKS are undefined, otherwise you
would get compile errors similar to:

  /usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:921:13: error: no member named 'VerifyDAGDivergence' in 'llvm::SelectionDAG'
   921 |     CurDAG->VerifyDAGDivergence();
       |     ~~~~~~  ^

Adjust the conditions for declaring and using these functions. This has
also been reported upstream.

Reported by:	cy
PR:		280562
MFC after:	1 month
2024-10-24 09:03:02 +02:00
Dimitry Andric
5deeebd8c6 Merge llvm-project release/19.x llvmorg-19.1.2-0-g7ba7d8e2f7b6
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.2-0-g7ba7d8e2f7b6,
a.k.a. 19.1.2 release.

PR:		280562
MFC after:	1 month
2024-10-23 20:27:38 +02:00
Dimitry Andric
6e516c87b6 Merge llvm-project release/19.x llvmorg-19.1.1-0-gd401987fe349
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.1-0-gd401987fe349,
a.k.a. 19.1.1 release.

PR:		280562
MFC after:	1 month
2024-10-23 20:27:28 +02:00
Dimitry Andric
c80e69b00d Merge llvm-project release/19.x llvmorg-19.1.0-0-ga4bf6cd7cfb1
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.0-0-ga4bf6cd7cfb1,
a.k.a. 19.1.0 release.

PR:		280562
MFC after:	1 month
2024-10-23 20:27:22 +02:00
Dimitry Andric
835c3a3e69 Merge commit 6dbdb8430b49 from llvm git (by Nikolas Klauser):
[Clang] Fix crash due to invalid source location in __is_trivially_equality_comparable (#107815)

  Fixes #107777

This fixes an assertion failure building www/qt5-webengine:

  Assertion failed: (Loc.isValid() && "point of instantiation must be valid!"), function setPointOfInstantiation, file contrib/llvm-project/clang/include/clang/AST/DeclTemplate.h, line 1938.

PR:		280562
MFC after:	1 month
2024-10-23 20:27:19 +02:00
Dimitry Andric
6c4b055cfb Merge llvm-project release/19.x llvmorg-19.1.0-rc4-0-g0c641568515a
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.0-rc4-0-g0c641568515a.

PR:		280562
MFC after:	1 month
2024-10-23 20:27:14 +02:00
Dimitry Andric
6298728806 Merge llvm-project release/19.x llvmorg-19.1.0-rc3-0-g437434df21d8
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.0-rc3-0-g437434df21d8.

PR:		280562
MFC after:	1 month
2024-10-23 20:27:07 +02:00
Dimitry Andric
52418fc2be Merge llvm-project release/19.x llvmorg-19.1.0-rc2-0-gd033ae172d1c
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.0-rc2-0-gd033ae172d1c.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:53 +02:00
Dimitry Andric
072b5fb698 libcxx-compat: revert llvmorg-19-init-4003-g55357160d0e1:
[libc++] Use GCC type traits builtins for remove_cv and remove_cvref (#81386)

  They have been added recently to GCC without support for mangling. This
  patch uses them in structs and adds aliases to these structs instead of
  the builtins directly.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:47 +02:00
Dimitry Andric
f3859a1a13 libcxx-compat: revert llvmorg-19-init-4504-g937a5396cf3e:
[libc++] Remove unused includes from __type_traits/is_convertible.h (#83747)

PR:		280562
MFC after:	1 month
2024-10-23 20:26:46 +02:00
Dimitry Andric
a7b2d7f261 libcxx-compat: revert llvmorg-19-init-5639-ga10aa4485e83:
[libc++] Simplify the implementation of remove_reference (#85207)

  GCC 13 introduced the type trait `__remove_reference`. We can simplify
  the implementation of `remove_reference` a bit by using it.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:45 +02:00
Dimitry Andric
1199d38d8e libcxx-compat: revert llvmorg-19-init-8667-g472b612ccbed:
[libc++][NFC] Remove unused includes from <__type_traits/remove_cv.h> (#88752)

PR:		280562
MFC after:	1 month
2024-10-23 20:26:45 +02:00
Dimitry Andric
2f2ebe758b libcxx-compat: revert llvmorg-19-init-17473-g69fecaa1a455:
[libc++] Clean up some now dead code with the upgrade to GCC 14 (#97746)

PR:		280562
MFC after:	1 month
2024-10-23 20:26:44 +02:00
Dimitry Andric
e8847079df libcxx-compat: revert llvmorg-19-init-17727-g0eebb48fcfbc:
[libc++] Merge is_member{,_object,_function}_pointer.h (#98727)

  The implementations for these traits have been simplified quite a bit,
  since we have builtins available for them now.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:43 +02:00
Dimitry Andric
0bec0529b1 libcxx-compat: revert llvmorg-19-init-17728-g30cc12cd818d:
[libc++] Simplify the implementation of is_null_pointer a bit (#98728)

PR:		280562
MFC after:	1 month
2024-10-23 20:26:42 +02:00
Dimitry Andric
e8054e44f4 libcxx-compat: revert llvmorg-19-init-17853-g578c6191eff7:
[libc++] Simplify std::is_void (#99033)

PR:		280562
MFC after:	1 month
2024-10-23 20:26:41 +02:00
Dimitry Andric
04f5b79cfa libcxx-compat: revert llvmorg-19-init-18062-g4dfa75c663e5:
[libc++] Merge is_scoped_enum.h into is_enum.h (#99458)

PR:		280562
MFC after:	1 month
2024-10-23 20:26:40 +02:00
Dimitry Andric
2f6d6eaf2d libcxx-compat: revert llvmorg-19-init-18063-g561246e90282:
[libc++][NFC] Remove wrong #endif comment

PR:		280562
MFC after:	1 month
2024-10-23 20:26:39 +02:00
Dimitry Andric
6b4981df60 libcxx cstdlib, cwchar: avoid using long long functions if not
supported, even for older compilers that do not support the
using_if_exists attribute.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:38 +02:00
Dimitry Andric
81e300df5e libcxx atomic_ref.h: add typename keyword for difference_type
declarations, otherwise older clang versions cannot compile this header.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:37 +02:00
Dimitry Andric
6846ab2fb6 libcxx simd_utils.h: only enable _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS for
clang >= 15, since older versions do not support the required builtins.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:36 +02:00
Dimitry Andric
3f157662c0 Tentatively apply https://github.com/llvm/llvm-project/pull/101403
PR:		280562
MFC after:	1 month
2024-10-23 20:26:33 +02:00
Dimitry Andric
36b606ae6a Merge llvm-project release/19.x llvmorg-19.1.0-rc1-0-ga4902a36d5c2
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.0-rc1-0-ga4902a36d5c2.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:26 +02:00
Dimitry Andric
0fca6ea1d4 Merge llvm-project main llvmorg-19-init-18630-gf2ccf80136a0
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-19-init-18630-gf2ccf80136a0, the
last commit before the upstream release/19.x branch was created.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:01 +02:00
Ed Maste
13da1af1cd libcxxrt: Update to upstream 698997bfde1f
Interesting fixes:

045c52c Mark __cxa_allocate_exception, __cxa_free_exception and
        __cxa_init_primary_exception noexcept.
8a2f123 Define _LIBCXXRT_NOEXCEPT in cxxabi.h and use it instead of
        throw()
9529236 Fix memory corruption in cpp_demangle_read_sname()
8f5c74e Add test cases, fix more bugs, and improve perf
391a3dc Add a simple implementation of __cxa_call_terminate
40e4fa2 mark std::terminate as noreturn and noexcept
5eede09 Print diagnostics in default std::terminate handler

Reviewed by:	dim
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47238
2024-10-22 19:43:54 -04:00
Martin Matuska
6c40282284 libarchive: backport PR #2386 (fixes output of one test)
MFC after:	6 days
2024-10-21 14:37:09 +02:00
Martin Matuska
bd66c1b43e libarchive: merge from vendor branch
Libarchive 3.7.7

Security fixes:
 #2158 rpm: calculate huge header sizes correctly
 #2160 util: fix out of boundary access in mktemp functions
 #2168 uu: stop processing if lines are too long
 #2174 lzop: prevent integer overflow
 #2172 rar4: protect copy_from_lzss_window_to_unp() (CVE-2024-20696)
 #2175 unzip: unify EOF handling
 #2179 rar4: fix out of boundary access with large files
 #2203 rar4: fix OOB access with unicode filenames
 #2210 rar4: add boundary checks to rgb filter
 #2248 rar4: fix OOB in delta filter
 #2249 rar4: fix OOB in audio filter
 #2256 fix multiple vulnerabilities identified by SAST
 #2258 cpio: ignore out-of-range gid/uid/size/ino and harden AFIO parsing
 #2265 rar5: clear 'data ready' cache on window buffer reallocs
 #2269 rar4: fix CVE-2024-26256 (CVE-2024-26256)
 #2330 iso: be more cautious about parsing ISO-9660 timestamps
 #2343 tar: clean up linkpath between entries
 #2364 tar: don't crash on truncated tar archives
 #2366 gzip: prevent a hang when processing a malformed gzip inside a gzip
 #2377 tar: fix two leaks in tar header parsing

Important bugfixes:
 #2096 rar5: report encrypted entries
 #2150 xar: fix another infinite loop and expat error handling
 #2173 shar: check strdup return value
 #2161 lha: fix integer truncation on 32-bit systems
 #2338 tar: fix memory leaks when processing symlinks or parsing pax headers
 #2245 7zip: fix issue when skipping first file in 7zip archive that
       is a multiple of 65536 bytes
 #2252 7-zip: read/write symlink paths as UTF-8
 #2259 rar5: don't try to read rediculously long names
 #2290 ar: fix archive entries having no type
 #2360 tar: fix truncation of entry pathnames in specific archives

CVE:		CVE-2024-20696, CVE-2024-26256
PR:		282047 (exp-run)
MFC after:	1 week
2024-10-20 10:24:02 +02:00
Enji Cooper
5ca8c28cd8 contrib/googletest: update from 1.14.0 to 1.15.2
The changes between the two versions can be found in this diff of the
two release tags:
https://github.com/google/googletest/compare/v1.14.0...v1.15.2

One notable change is that GoogleTest 1.15.x now officially requires
C++-14 (1.14.x required C++-11).

MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D47197

Merge commit '14f7077fed7d82046bdcbe347004132f08aba886'
2024-10-19 18:54:01 -07:00
Cy Schubert
0c2af19e78 unbound: Remove testcode and testdata
The testcode and testdata directories are not used by FreeBSD.
Remove them.

MFC after:	1 week
2024-10-18 07:14:41 -07:00
Cy Schubert
46d2f61818 unbound: Vendor import 1.22.0
Release notes at
	https://nlnetlabs.nl/news/2024/Oct/17/unbound-1.22.0-released/

MFC after:	1 week

Merge commit '0a6d797cf6eb751d7eb613900cd19803e05d905f' into main
2024-10-18 07:14:21 -07:00
Cy Schubert
0a6d797cf6 unbound: Vendor import 1.20.0
Release notes at
	https://nlnetlabs.nl/news/2024/Oct/17/unbound-1.22.0-released/
2024-10-18 06:52:55 -07:00
Ed Maste
38518fda66 capsicum-test: rights are propagated on sctp_peeloff(2)
As of commit 91a9e4e01d ("capsicum: propagate rights on sctp_peeloff")
a capability is generated from sctp_peeloff(cap_fd,...).  Enable the
corresponding test code.

PR:		201052
Reviewed by:	oshogbo, tuexen
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47000
2024-10-08 20:41:45 -04:00
Ed Maste
e4550c9aa0 capsicum-test: include SCTP tests
HAVE_SCTP is #defined in syscalls.h, so move the #ifdef after the
inclusion of the header that #defines it.

Issue https://github.com/google/capsicum-test/issues/60 is open upstream
in case a slightly different version is needed for Linux.

Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46995
2024-10-08 20:34:50 -04:00
Ed Maste
1d83090d85 capsicum-test: skip SCTP tests if SCTP not available
Skip the test rather than failing if SCTP is not available (e.g., if
sctp.ko is not loaded).

Also submitted upstream as
https://github.com/google/capsicum-test/pull/61

Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46999
2024-10-08 20:32:45 -04:00
Ed Maste
6684779b32 capsicum-test: rights are propagated on accept(2)
Some checks are pending
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-12, /usr/lib/llvm-12/bin, ubuntu-20.04, bmake libarchive-dev clang-12 lld-12, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-12, /usr/lib/llvm-12/bin, ubuntu-20.04, bmake libarchive-dev clang-12 lld-12, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-13, /opt/homebrew/opt/llvm@13/bin, macos-latest, bmake libarchive llvm@13, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-13, /opt/homebrew/opt/llvm@13/bin, macos-latest, bmake libarchive llvm@13, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, arm64, aarch64) (push) Waiting to run
As of commit 85b0f9de11 ("capsicum: propagate rights on accept(2)")
a capability is generated from accept(cap_fd,...).  Enable the
corresponding test code.

PR:		201052
Reviewed by:	oshogbo
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46994
2024-10-07 15:40:06 -04:00
Cy Schubert
5a5c227981 unbound: Vendor import 1.21.1
Release notes at
	https://nlnetlabs.nl/news/2024/Oct/03/unbound-1.21.1-released/

Security:       CVE-2024-8508
MFC After:	3 days

Merge commit '9b8db746ac608ff7cdad3c9ac7ac395319e4ea0f'
2024-10-06 18:45:53 -07:00
Igor Ostapenko
99689201a1 kyua: Do not count skipped as passed in test cmd
It changes output of 'kyua test' CLI command only. Hence, other outputs
like junit are kept intact for CI and other use cases. It's meant to
improve UX of attended use cases.

The issue is that the following can be tricky to interpret:

  222/222 passed (0 failed)

It can be read as all tests are passed, but it might be a summary line
of all tests skipped due to some requirement is not met.

It's reworked to easily distinguish such cases:

  222/222 passed (0 broken, 0 failed, 0 skipped)
  0/222 passed (0 broken, 0 failed, 222 skipped)

The overall formula is:

  <actually passed>/<total> (<details about not actually passed ones>)

Suggested by:	kp
Reviewed by:	ngie, markj
Approved by:	markj (mentor)
Differential Revision:	https://reviews.freebsd.org/D46653
2024-10-05 10:22:22 +00:00
Joseph Mingrone
34aa6f2c2d
pflogd: Move struct definitions out of header file
In libpcap 1.10.5, two structures that we relied on, pcap_timeval and
pcap_sf_pkthdr, were made private.  As a workaround, we initially
defined the structures in pflogd.h.  After further investigation, mostly
by kp@, we concluded that it is reasonable to define these structures
ourselves since they represent a file format and thus are unlikely to
change from under us.  We will stick with this solution but move the
definitions out of the header file to prevent others from using pflogd.h
to access them.

Another solution that was considered was using libpcap's pcap_dump()
function to write packets, but there are blockers.  For example, pflogd
writes to a memory buffer, and libpcap lacks support for this.

Reviewed by:	kp
MFC after:	3 days
Event:		EuroBSDCon 2024
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D46894
2024-10-04 10:41:53 -03:00
Dag-Erling Smørgrav
4e859e67dd libdiff: Implement diff coloring.
This patch got accidentally left out when libdiff was imported.  The
rest of the code (command-line option etc.) was present, just not the
part that actually prints ANSI color codes.

Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D46873
2024-10-02 17:55:06 +02:00
Enji Cooper
ffd294a1f4 MFV: expat 2.6.3
The 2.6.1 - 2.6.3 releases address several security issues with the
library.

The release notes for the 2.6.1-2.6.3 releases can be found at
https://github.com/libexpat/libexpat/blob/R_2_6_3/expat/Changes .

MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D46829

Merge commit '8e1eae2319cd3a651941c88b46d95e8ee8507c6c'
2024-09-28 07:19:59 -07:00
Konstantin Belousov
eade2001aa jemalloc: set LG_VADDR to 64 on amd64
and allow to revert it back to 48 with WITHOUT_JEMALLOC_LG_VADDR_WIDE build
option.

Reviewed by:	andrew, emaste
Sponsored by:	Advanced Micro Devices (AMD)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D46686
2024-09-27 01:54:25 +03:00