9599d814 gbe Oct. 2, 2021, 8:45 a.m.
- s/setings/settings/

MFC after:	3 days
efd8749f gbe Oct. 2, 2021, 8:43 a.m.
- s/prefered/preferred/

MFC after:	3 days
9ebd651b gbe Oct. 2, 2021, 8:42 a.m.
- s/prefered/preferred/

MFC after:	3 days
1c119e17 mav Oct. 2, 2021, 4:09 a.m.
Before this change kern.sched.interact sysctl setting above 32 gave
all interactive threads identical priority of PRI_MIN_INTERACT due to
((PRI_MAX_INTERACT - PRI_MIN_INTERACT + 1) / sched_interact) turning
zero.  Setting the sysctl lower reduced the range of used priority
levels up to half, that is not great either.

Change of the operations order should fix the issue, always using full
range of priorities, while overflow is impossible there since both
score and priority values are small.  While there, make the variables
unsigned as they really are.

MFC after:	1 month
93d120db philip Oct. 2, 2021, 2:52 a.m.
Merge commit '9530c11c35707c2ed4a95aa90097b30f8a230563'

Changes: https://github.com/eggert/tz/blob/2021c/NEWS

MFC after:	3 days
9530c11c philip Oct. 2, 2021, 2:47 a.m.
83581511 imp Oct. 2, 2021, 1:17 a.m.
We only use nvme_completion_poll in the initialization path. The
commands they queue and wait for finish quickly as they involve no I/O
to the drive's media. These command take about 20-200 microsecnds
each. Set the wait time to 1us and then increase it by 1.5 each
successive iteration (max 1ms). This reduces initialization time by
80ms in cpervica's tests.

Use this same technique waiting for RDY state transitions. This saves
another 20ms. In total we're down from ~330ms to ~2ms.

Tested by:		cperciva
Sponsored by:		Netflix
Reviewed by:		mav
Differential Review:	https://reviews.freebsd.org/D32259
ef7d2c1f mjg Oct. 2, 2021, 12:57 a.m.
This is a step towards retiring struct componentname cn_thread

Reviewed by:	rmacklem
Differential Revision:	https://reviews.freebsd.org/D32267
3ff37339 tuexen Oct. 1, 2021, 10:48 p.m.
c9536389 mjg Oct. 1, 2021, 9:56 p.m.
Making it condtional on whether ktrace happens to be enabled makes no
fbece760 lwhsu Oct. 1, 2021, 8:59 p.m.
Imports the changes for building official images on Azure Marketplace,
which fulfill the requirements of Azure and FreeBSD cloud images like
disk layout and UEFI for Gen2 VM, along with some minor improvements like
configurations to speed up booting.

"CLOUDWARE" list will be updated after some more collaborations with re

Reviewed by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
Technical assistance from:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D23804
a37e4fd1 glebius Oct. 1, 2021, 8:38 p.m.
listening sockets separated from code for generic sockets.

No objection:	markj
63cb9308 jhibbits Oct. 1, 2021, 7:16 p.m.
A core segment is bounded in size only by memory size.  On 64-bit
architectures this means a segment can be much larger than 4GB.
However, compress_chunk() takes only a u_int, clamping segment size to
4GB-1, resulting in a truncated core.  Everything else, including the
compressor internally, uses size_t, so use size_t at the boundary here.

This dates back to the original refactor back in 2015 (r279801 /

MFC after:	1 week
Sponsored by:	Juniper Networks, Inc.
01771021 jhb Oct. 1, 2021, 6:53 p.m.
Reviewed by:	mhorne
Obtained from:	CheriBSD
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D31969
c76da1f0 kevans Oct. 1, 2021, 6:51 p.m.
Make freebsd-update(8) support jails by adding the -j flag which takes
a jail jid or name as an argument. This takes advantage of the recently
added -j support to freebsd-version(8) in order to get the version of
the installed userland.

Reviewed by:	dteske, kevans
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D25711