NAS-140041 / 25.10.2.2 / try to work-around DumpInterrupted/EBUSY (#18356)
3 or 4 users are reporting increase in DumpInterrupted/EBUSY failures in
our network code. Even testing on an internal system with 77 interfaces
causing massive address churn, I was unable to reproduce the issue but
the testing showed that adding this lock didn't add any measurable
difference in speed.
- Serialize netlink route operations with a threading.Lock in
netlink_route() context manager to prevent concurrent kernel-side dump
collisions that trigger NLM_F_DUMP_INTR / EBUSY (errno 16)
- Bump list_interface_states() retry limit from 3 to 5 as
defense-in-depth for external netlink collisions the lock can't prevent
(other daemons, ip commands, etc.)
- Add linear backoff (50ms * attempt) between retries instead of
immediate retry, reducing retry storm likelihood
Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools
Because of this setting we were still using ELF Tool Chain tools for
buildworld. The sets of binary utilities are largely equivalent and
this went unnoticed after commit 1cae7121c667 ("Enable LLVM_BINUTILS
by default").
This was discovered recently because ELF Tool Chain objcopy produces
standalone debug files without phdrs and this caused an issue with a
3rd party ELF parser [1]. Remove the forced setting so that we use
LLVM's binutils to build the system.
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=33876
Reviewed by: imp, jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55650
ValueTracking: Teach computeKnownFPClass to look at bitcast + integer max (#184073)
The returned class will still be one of the bitpatterns.
This pattern is used in rocm device libraries in assorted functions,
e.g.,
https://github.com/ROCm/llvm-project/blob/amd-staging/amd/device-libs/ocml/src/rlen3F.cl#L20
I believe it is blocking the eliminationg of finite checks in some of
the more complex functions.
Pull up following revision(s) (requested by lukem in ticket #1237):
usr.bin/ftp/ftp_var.h: revision 1.90
usr.bin/ftp/util.c: revision 1.170
usr.bin/ftp/version.h: revision 1.102
usr.bin/ftp/ftp.c: revision 1.180
usr.bin/ftp/fetch.c: revision 1.243
ftp: limit I/O transfers to 128 KiB
Change the default/maximum I/O transfer size to 128 KiB,
instead of relying upon the socket buffer size.
Reworked change proposed by Michael van Elst.
Use more constants instead of magic values.
Bump version to 20260115.
Part of PR bin/59865.
Pull up following revision(s) (requested by lukem in ticket #1235):
usr.bin/ftp/ftp.1: revision 1.162
ftp(1): clarify -b BUFSIZE is for HTTP response parsing
Add ntoe about default log level for verbose options
Verbose options can log additional information that may only be shown
with the respective log level.
Pull up following revision(s) (requested by lukem in ticket #186):
usr.bin/ftp/ftp.1: revision 1.163
usr.bin/ftp/ftp_var.h: revision 1.91
usr.bin/ftp/util.c: revision 1.171
usr.bin/ftp/main.c: revision 1.137
usr.bin/ftp/version.h: revision 1.103
usr.bin/ftp/ftp.c: revision 1.181
usr.bin/ftp/cmds.c: revision 1.145
usr.bin/ftp/fetch.c: revision 1.244
ftp: simplify socket buffer handling to improve performance
Only set the socket buffer sizes if the user explicitly sets the
rcvbuf (SO_RCVBUF) or sndbuf (SO_SNDBUF) to a positive value.
Otherwise leave to the operating system default.
Determine the transfer size based on the socket buffer size
[8 lines not shown]
Pull up following revision(s) (requested by lukem in ticket #187):
usr.bin/ftp/ftp_var.h: revision 1.90
usr.bin/ftp/util.c: revision 1.170
usr.bin/ftp/version.h: revision 1.102
usr.bin/ftp/ftp.c: revision 1.180
usr.bin/ftp/fetch.c: revision 1.243
ftp: limit I/O transfers to 128 KiB
Change the default/maximum I/O transfer size to 128 KiB,
instead of relying upon the socket buffer size.
Reworked change proposed by Michael van Elst.
Use more constants instead of magic values.
Bump version to 20260115.
Part of PR bin/59865.
[WIP][PAC][libunwind] Handle LR and IP signing around sigreturn frame
Support stepping through sigreturn frame in PtrAuth-protected libunwind.
Unfortunately, this involves signing non-protected IP value from
sigcontext struct saved on the stack by the kernel.
www/freenginx-devel: update from 1.29.4 to 1.29.5
Also, update third-party modules:
- ngx_http_redis
- njs
- spnego
- vts
to their recent versions.
Sponsored by: tipi.work
<ChangeLog>
*) Feature: optimized SSL_sendfile() usage on FreeBSD.
Thanks to Gleb Smirnoff.
*) Bugfix: upstream servers were not marked as failed after a response
with status code 500, 502, 503, 504, or 429 if the code was listed in
[11 lines not shown]
Pull up following revision(s) (requested by lukem in ticket #184):
usr.bin/ftp/ftp.1: revision 1.162
ftp(1): clarify -b BUFSIZE is for HTTP response parsing
[HLSL] Add WaveActiveAllEqual functions (#183634)
This PR adds the WaveActiveAllEqual function to HLSL.
It also adds extra macro logic to CGHLSLBuiltins so that you can specify
a different intrinsic name for the SPIRV intrinsic.
Fixes https://github.com/llvm/llvm-project/issues/99162