Allow the vfs.nfsd knobs to be set from loader.conf (or using
kenv(8)).  This is useful when nfsd is loaded as module.

Reviewed by:	rmacklem
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273727 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a method to iicbus to request IIC_M_NOSTOP behaviour for multibyte
transfers to be default.  It simplifies porting code which assumes
such settings.

Discussed with:	avg, llos, nwhitehorn
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Reduce code duplication around Write Exclusive persistent reservation.

While there, allow some more commands to pass persistent reservation.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273730 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove comment obsoleted by r273730.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273731 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove unused function.

Sponsored by:	Yandex LLC


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make assignments to "net.inet.tcp.cc.algorithm" work by fixing a bad
string comparison.

MFC after:	3 days
Reported by:	Jukka Ukkonen <jau789@gmail.com>
Sponsored by:	Mellanox Technologies


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/dd: Fix incorrect casting of arguments

dd(1) casts many of its numeric arguments from uintmax_t to intmax_t
and back again to detect whether or not the original arguments were
negative. This caused wrong behaviour in some boundary cases:

$ dd if=/dev/zero of=/dev/null count=18446744073709551615
dd: count cannot be negative

After the fix:

$ dd if=/dev/zero of=/dev/null count=18446744073709551615
dd: count: Result too large

PR:		191263
Submitted by:	will@worrbase.com
Approved by:	cognet@


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273734 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Clarify the documentation of pmcstat:
the -d argument should be passed before -p, -s, -P or -S to be taken in account

Differential Revision:	https://reviews.freebsd.org/D1011
Reviewed by:	adrian, gnn
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273737 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Correct a typo: this is the manpage for pthread_cleanup_pop, not push.

Submitted by:	ian


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273738 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix rendering

Submitted by:	brueffer


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273739 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Preserve limitation of "TCP_CA_NAME_MAX" when matching the algorithm
name.

MFC after:	3 days
Suggested by:	gnn @


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273740 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Tiny comment fixup.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273741 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Do not automatically install routes to link-local and interface-local multicast
addresses.

Obtained from:	Yandex LLC
Sponsored by:	Yandex LLC


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/dd: revert 273734, as it fails on 32bit platforms

Revert: insufficient testing on 32bit platforms

PR:		191263


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add foo_genassym.c files to DPSRCS so dependencies for them are generated.
This ensures these objects are rebuilt to generate an updated header of
assembly constants if needed.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273744 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
De-k&r-ify function definitions in kern/kern_resource.c

No functional changes.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273745 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Tidy up functions related to uidinfo management.

- reference found uidinfo in uilookup
- reduce nesting by handling shorter cases first


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273746 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by:	jmg [1]
Reviewed by:	jmg
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273747 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Output a summary of optional SVM features in dmesg similar to CPU features.
If bootverbose is enabled, a detailed list is provided; otherwise, a
single-line summary is displayed.

Differential Revision:	https://reviews.freebsd.org/D1008
Reviewed by:	jhb, neel
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273748 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove bhyve SVM feature printf's now that they are available in the
general CPU feature detection code.

Reviewed by:	neel


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273749 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f