freebsd-src/sys
Colin Percival 8b8a7c43a9 Instrument "boot holds" for the benefit of the TSLOG framework. These
are places where the "main thread" of the booting kernel (either the
thread which later becomes swapper or the thread which later becomes
init) has to stop and wait for action to take place in another thread
before continuing.

There are currently three such holds:
1. The intr_config_hooks SYSINIT waits for hooks registered via the
config_intrhook_establish function; this allows (typically) devices
which need interrupts enabled to complete their initialization to do
so before root is mounted.

2. The g_waitidle function waits for the GEOM event queue to be empty;
this ensures that all of the disks which have been attached have been
tasted before we attempt to mount root.

3. The vfs_mountroot_wait function (in addition to calling g_waitidle)
waits for holds registered via root_mount_hold; among other things, this
is used by the USB subsystem to ensure that we don't fail to mount root
if it's located on a USB disk which takes a while to probe.
2017-12-31 09:23:52 +00:00
..
amd64 Use the TSLOG framework to record entry/exit timestamps for hammer_time. 2017-12-31 09:22:07 +00:00
arm aw_sid: rewrite compat-string configuration to be more flexible 2017-12-31 06:44:15 +00:00
arm64 Introduce an architecture-agnostic <sys/_stdarg.h> to reduce 2017-12-25 20:54:00 +00:00
bsm sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
cam ctl: Correct comment in ctl_worker_thread 2017-12-27 15:39:31 +00:00
cddl Remove obsolete register keyword from opensolaris's sysmacros.h. When 2017-12-24 19:17:15 +00:00
compat Update Matthew Macy contact info 2017-12-19 17:59:00 +00:00
conf Connect kern_tslog.c to the build and add TSLOG / TSLOGSIZE kernel options. 2017-12-31 09:21:34 +00:00
contrib MFC: r326864 2017-12-14 23:21:31 +00:00
crypto sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ddb ddb: fix validation of cpu id in 'set db_cpu=x' 2017-12-05 14:22:08 +00:00
dev dwmmc: Fully subclass driver 2017-12-30 22:01:17 +00:00
dts dts: arm: Remove imx6 related dts 2017-12-04 13:28:56 +00:00
fs Reuse kern_proc_vmmap_resident() for procfs_map resident count. 2017-12-28 13:23:13 +00:00
gdb sys/gdb: further adoption of SPDX licensing ID tags. 2017-11-27 15:16:59 +00:00
geom Instrument "boot holds" for the benefit of the TSLOG framework. These 2017-12-31 09:23:52 +00:00
gnu Introduce bwn(4) support for the bhnd(4) bus. 2017-12-02 02:21:27 +00:00
i386 Move i386/isa/elink.[hc] to dev/ep. 2017-12-30 11:42:49 +00:00
isa On further testing on actual machines with this hardware, we should 2017-12-30 08:16:31 +00:00
kern Instrument "boot holds" for the benefit of the TSLOG framework. These 2017-12-31 09:23:52 +00:00
kgssapi sys/kgssapi: general adoption of SPDX licensing ID tags. 2017-11-27 15:49:00 +00:00
libkern SPDX: fix wrong license ID tag in libkern. 2017-12-28 01:20:30 +00:00
mips kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
modules Move i386/isa/elink.[hc] to dev/ep. 2017-12-30 11:42:49 +00:00
net Add macro for vxlan list mutex lock and unlock 2017-12-30 19:49:40 +00:00
net80211 net80211: sanitize input for ieee80211_output() 2017-12-30 00:40:34 +00:00
netgraph sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
netinet Correct the comment describing badrs which is bad router solicitiation, 2017-12-29 07:23:18 +00:00
netinet6 Fix some typos. 2017-12-28 20:40:56 +00:00
netipsec Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
netpfil SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
netsmb sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfs Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nfsclient sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
ofed sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
opencrypto Remove a redunant check. 2017-12-30 03:08:49 +00:00
powerpc Use data from the boot loader to pick the appropriate output graphics mode 2017-12-31 06:10:07 +00:00
riscv Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
rpc Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
security Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
sparc64 sparc64: Update idprom.h. 2017-12-27 22:01:30 +00:00
sys Use the TSLOG framework to record entry/exit timestamps for VFS_MOUNT calls. 2017-12-31 09:23:35 +00:00
teken sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
tests style(9): sort headers 2017-05-09 05:08:47 +00:00
tools Teach makeobjops.awk to accept PROLOG and EPILOG blocks before 2017-12-31 09:23:19 +00:00
ufs SPDX: Complete License ID tags for UFS. 2017-12-27 19:13:50 +00:00
vm Previously, swap_pager_copy() freed swap blocks one at at time, via 2017-12-31 04:01:47 +00:00
x86 With the advent of interrupt remapping, Intel has repurposed bit 11 2017-12-28 21:46:09 +00:00
xdr sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
xen sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
Makefile Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00