bq_insert: delay the BUF_UNLOCK if not bd_flush()ing
Reduce bufqueue lock contention by delaying the BUF_UNLOCK to after
dropping the bufqueue lock. Still do the early BUF_UNLOCK if we
actually have to bd_flush.
Reviewed by: kib, markj
Sponsored by: Dell Inc.
Differential Revision: https://reviews.freebsd.org/D56948
where: Installation becomes introductory paragraph
This page is really long, and has no introductory paragraph.
Instead of hiding the installation section at the bottom, simplify
it into an introductory paragraph.
Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D56956
Fix LOCAL_PEERCRED in 32-bit compat mode
Previously the cr_pid field would be incorrectly copied to userland, due
to a size mismatch between the structure as defined in 32-bit vs 64-bit
builds. Fix it by converting the structure before copying it to
userland.
PR: 294833
Sponsored by: ConnectWise
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D56675
(cherry picked from commit 1d24638d3e8875e4b99a4b5e39f4241e37221b3d)
arm64/vmm: Enforce a data barrier before tlbi for non-VHE
Exception entry does not include an implicit, architectural data
barrier.
Reported by: Ben Simner <ben.simner at cl.cam.ac.uk>
Reviewed by: andrew
Fixes: 5577bb2f67ff ("arm64/vmm: Support tlbi from VHE")
Differential Revision: https://reviews.freebsd.org/D56855
mandoc: Updating FreeBSD thead library descriptions
Remove libkse as it has been obsolete for many years and drop 1:1 from
description of libthr.
Reviewed by: brooks
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D56850
handbook/introduction: Replace disc with cloud
FreeBSD hasn't fit on a CD-ROM in a long time,
and nobody we know of is selling FreeBSD DVDs.
This whole page needs TLC, one thing at a time.
Reviewed by: carlavilla
Discussed with: cperciva, mchoo
Differential Revision: https://reviews.freebsd.org/D56981