elf.5: Add description of .ctors and .dtors
Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50536
Remove LLVM_TARGET_SPARC descriptions
Support for WITH_/WITHOUT_LLVM_TARGET_SPARC was removed in commit
47e9f42ea39b ("Remove sparc64 specific buid-system hacks") so the
descriptions serve no purpose.
Sponsored by: The FreeBSD Foundation
stand/powerpc/ofw: Remove bogus end decl
This likely used to be needed for some code here, or maybe it's been
here since it was copied from elsewhere that did neeed it. Remove it.
Sponsored by: Netflix
stand/i386/zfsboot: Initialzie archsw at compile time.
Also, add a comment about the weird reason we even have an archsw here
at all. tl;dr: zfs code uses archsw when it aught not, but this hack
here is easier than fixing that code properly.
Sponsored by: Netflix
kboot: Initialize archsw at compile time
No need to initialize this at runtime. This trades .bss space + code in
.text for just .data and is net smaller.
Sponsored by: Netflix
stand/i386: Initialize archsw at compile time
No need to initialize this at runtime. This trades .bss space + code in
.text for just .data and is net smaller by 4 bytes.
Sponsored by: Netflix
stand/uboot: Remove unneeded nitems definition
Also, remove the trailing white space that was introduced in the same
commit as the nitems fallback definition.
Sponsored by: Netflix
Revert "src.conf: regen"
This reverts commit 9ce5410b9094f9a2dce72e86a70fd086acdb3ff6. makeman
is actually sensitive to the host architecture it's run on, which may
result in silly little diffs like this. Likely we should pin it to
amd64/amd64 or something for consistency in future updates.
Reported by: emaste
Diagnosis by: Mark Millard
socket_splice tests: Explicitly bind to the loopback address
Otherwise, when connecting to the value returned by getsockname(), we
inadvertently end up connecting to INADDR_ANY, which stopped working
after commit cd240957d7ba ("netinet: Disallow connections to
INADDR_ANY").
Fixes: cd240957d7ba ("netinet: Disallow connections to INADDR_ANY")
vfs_cache.c: Use CACHE_FPL_SUPPORTED_CN_FLAGS
Commit 2ec2ba7e232d added some code to cache_can_fplookup()
which worked (ensuring an abort when OPENNNAMED was set),
but showed I didn't understand what
CACHE_FPL_SUPPORTED_CN_FLAGS was used for.
This patch cleans it up.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D50524
Fixes: 2ec2ba7e232d ("vfs: Add VFS/syscall support for Solaris style extended attributes")
vm_object: drop reverse walk from collect_flush
In vm_object_page_collect_flush, following a forward walk from page p
seeking more pages to which vm_object_page_remove_write might be
applied, a backward walk from page p is attempted. It never finds a
page, and so this change removes that walk, and renames the function
to better indicate its use for one specific application only.
It never finds a page because collect_flush() is only called from one
place, in vm_object_page_clean(). If there was a page p-1 to be found,
then either it is less than tstart, or it would have been found in the
previous iteration. If it less than tstart, then page_clean()
shouldn't be messing with it. If it was found in the previous
iteration, then vm_object_page_collect_flush() would have been called
in that iteration, and page p would have been the first page in the
forward walk from p-1, and it would have been processed then, and so p
would not be passed to vm_object_page_collect_flush now.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D50517
vm_page: drop mpred from grab_valid_iter()
Variable mpred in vm_page_grab_valid_iter() has become a write-only
variable. Drop it.
In grab_valid_iter(), drop a pctrie_iter_reset() call already handled
in vm_page_alloc_iter().
Reviewed by: alc
Differential Revision: https://reviews.freebsd.org/D50424
open.2: add a note about conversion of a file descriptor into O_PATH
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D50511
systat/top: Update ZFS sysctl names
Some of ARC statistic sysctls changed years ago, but those tools
are still using legacy shims, that are going to be removed.
MFC after: 3 days
net80211: remove direct references to ifp->if_xname
* change ieee80211_get_vap_ifname() to use if_name()
* migrate the other references of ifp->if_xname to
ieee80211_get_vap_ifname()
Differential Revision: https://reviews.freebsd.org/D50407
Reviewed by: bz