freebsd-skq/sys
jhb b4f65d818d Rework handling of thread sleeps before timers are working.
Previously, calls to *sleep() and cv_*wait*() immediately returned during
early boot.  Instead, permit threads that request a sleep without a
timeout to sleep as wakeup() works during early boot.  Sleeps with
timeouts are harder to emulate without working timers, so just punt and
panic explicitly if any thread tries to use those before timers are
working.  Any threads that depend on timeouts should either wait until
SI_SUB_KICK_SCHEDULER to start or they should use DELAY() until timers
are available.

Until APs are started earlier this should be a no-op as other kthreads
shouldn't get a chance to start running until after timers are working
regardless of when they were created.

Reviewed by:	kib
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D5724
2016-03-31 18:10:29 +00:00
..
amd64 Type of the interrupt handlers on x86 cannot be expressed in C. 2016-03-29 19:56:48 +00:00
arm Enable SPI1 on Beaglebone Black. 2016-03-30 17:32:14 +00:00
arm64 Add support for 4 level pagetables. The userland address space has been 2016-03-31 11:07:24 +00:00
boot Enable SPI1 on Beaglebone Black. 2016-03-30 17:32:14 +00:00
bsm Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
cam CAM: Generalize 4k quirk to all Samsung MZ7* SSDs 2016-03-29 06:56:46 +00:00
cddl Plug open count leak on zvol rename. 2016-03-30 16:54:18 +00:00
compat Add wait_event_interruptible_timeout to linuxkpi. 2016-03-31 17:11:58 +00:00
conf Remove the old depend (mkdep) code and make FAST_DEPEND the one true way. 2016-03-30 23:50:23 +00:00
contrib krping wasn't designed to take more than one client. Fail any connect 2016-03-29 01:41:07 +00:00
crypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
ddb Add td_swinvoltick to track last involuntary context switch 2016-03-25 19:35:29 +00:00
dev Fix number of the enabled VFs in VNIC 2016-03-31 16:44:32 +00:00
fs Do not access buffer if bread(9) or cluster_read(9) failed. On error, 2016-03-29 19:59:44 +00:00
gdb
geom Don't assume that bio_cmd is a bit mask. 2016-03-10 06:25:39 +00:00
gnu Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. We 2016-02-09 16:42:32 +00:00
i386 Type of the interrupt handlers on x86 cannot be expressed in C. 2016-03-29 19:56:48 +00:00
isa Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
kern Rework handling of thread sleeps before timers are working. 2016-03-31 18:10:29 +00:00
kgssapi kcrypto_aes: Use separate sessions for AES and SHA1 2016-02-02 00:14:51 +00:00
libkern
mips Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
modules Add support for the Nuvoton NCT5104D. 2016-03-31 04:57:38 +00:00
net Remove some NULL checks for M_WAITOK allocations. 2016-03-29 13:56:59 +00:00
net80211 [net80211] migrate the time_* macros to ieee80211_* namespace. 2016-03-30 00:44:10 +00:00
netgraph Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
netinet Unbreak the RSS/PCBGROUp build. 2016-03-31 00:53:23 +00:00
netinet6 Unbreak the RSS/PCBGROUp build. 2016-03-31 00:53:23 +00:00
netipsec Fix handling of net.inet.ipsec.dfbit=2 variable. 2016-03-18 09:03:00 +00:00
netnatm
netpfil pf: Improve forwarding detection 2016-03-16 06:42:15 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs Do not try to install a default route for each interface found, because 2016-03-27 23:16:37 +00:00
nfsclient
nfsserver
nlm
ofed Remove unnecessary dequeue_mutex (added in r294610) from the iWARP 2016-03-30 01:08:08 +00:00
opencrypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
pc98 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
powerpc Reduce OFW PCI code duplication - involves ARM, PPC and SPARC64 2016-03-29 15:19:56 +00:00
riscv Add support for ddb(4). 2016-03-10 15:51:43 +00:00
rpc Remove some NULL checks for M_WAITOK allocations. 2016-03-29 13:56:59 +00:00
security Busy the mount point which is the owner of the audit vnode, around 2016-01-16 10:06:33 +00:00
sparc64 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
sys Improve comments. 2016-03-31 17:15:03 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs Remove some NULL checks for M_WAITOK allocations. 2016-03-29 13:56:59 +00:00
vm Remove UMA_ZONE_REFCNT feature, now unused. 2016-03-01 00:33:32 +00:00
x86 Type of the interrupt handlers on x86 cannot be expressed in C. 2016-03-29 19:56:48 +00:00
xdr
xen xenbus: add a comment with the names of the generated accessors 2016-01-15 14:34:31 +00:00
Makefile Add riscv to the list of architectures for cscope. 2016-02-29 16:39:27 +00:00