freebsd-dev/sys
Konstantin Belousov 20b555e146 Do not run pmclog_configure_log() without pmc_sx protection.
The r195005 unlocked pmc_sx before calling into pmclog_configure_log()
to avoid the LOR, but it allows flush or closelog to run in parallel
with the configuration, causing many failure modes.

Revert r195005.  Pre-create the logging process, allowing it to run
after the set up succeeded, otherwise the process terminates itself.

Reported and tested by:	pho
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D12882
2017-11-01 11:43:39 +00:00
..
amd64 Consistently ensure that we do not load MXCSR with reserved bits set. 2017-11-01 10:32:44 +00:00
arm Update several more URLs 2017-10-29 08:17:03 +00:00
arm64 Allocate the ITS translation table with a 64k page alignment. This is the 2017-10-31 23:17:17 +00:00
boot loader ptblread() is broken with >512B sectors 2017-10-31 20:29:31 +00:00
bsm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
cam Send IDLE IMMEDIATE for warm boot. 2017-10-30 03:25:22 +00:00
cddl vdev_geom_close: close errored consumer even if vdev_reopening is set 2017-10-31 10:15:03 +00:00
compat Update comment to match r177997 & r178036 changes. 2017-10-27 16:36:05 +00:00
conf [i2c/clock] add support for EPSON RTC-8583 2017-10-31 12:15:00 +00:00
contrib Rename a couple files to not conflict with ZFS filenames 2017-11-01 03:09:16 +00:00
crypto aesni(4): CRYPTO_AES_NIST_GCM_16 mandates MAC 2017-10-04 21:15:45 +00:00
ddb Rename mkdumpheader() and group EKCD functions in kern_shutdown.c. 2017-08-18 04:04:09 +00:00
dev Do not run pmclog_configure_log() without pmc_sx protection. 2017-11-01 11:43:39 +00:00
fs Fix physical block number overflow in different places. 2017-10-24 20:10:08 +00:00
gdb gdb kernel server: fixup Search:memory style 2017-10-17 01:12:17 +00:00
geom geom_slice: fix r325227, protect against multiple calls to g_slice_free 2017-11-01 10:53:10 +00:00
gnu dts: Update our device tree sources file fomr Linux 4.13 2017-10-21 15:47:40 +00:00
i386 Consistently ensure that we do not load MXCSR with reserved bits set. 2017-11-01 10:32:44 +00:00
isa Use better hard-coded defaults for the cursor shape, and remove nearby 2017-08-19 19:33:16 +00:00
kern namecache: fix .. check broken after r324378 2017-11-01 08:40:04 +00:00
kgssapi
libkern Continuing efforts to provide hardening of FFS, this change adds a 2017-09-22 12:45:15 +00:00
mips [mips] Pin control configuration for MediaTek RT2880 2017-10-31 11:29:16 +00:00
modules Enable i386 build of the Cavium LiquidIO driver (lio) module. 2017-10-25 17:49:17 +00:00
net Preserve TSO checksum flags 2017-10-31 19:03:35 +00:00
net80211 [net80211] don't try to follow a NULL rxs pointer down the sink. 2017-10-13 06:49:07 +00:00
netgraph Correction after r323873: #include <sys/lock.h> in addition to <sys/rmlock.h> 2017-09-28 11:26:37 +00:00
netinet Fix parsing error when processing cmsg in SCTP send calls. Thei bug is 2017-10-27 19:27:05 +00:00
netinet6 Evaluate packet size after the firewall had its chance in the ip6 fast path 2017-10-25 19:21:48 +00:00
netipsec opencrypto: Loosen restriction on HMAC key sizes 2017-09-26 16:18:10 +00:00
netpfil Fix Dummynet AQM packet marking function ecn_mark() and fq_codel / 2017-10-26 10:11:35 +00:00
netsmb netsmb: Fix buggy/racy smb_strdupin() 2017-09-29 15:53:26 +00:00
nfs Improve FHA locality control for NFS read/write requests. 2017-07-31 15:23:19 +00:00
nfsclient
nfsserver
nlm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
ofed The remote DMA TCP portspace selector, RDMA_PS_TCP, is used for both 2017-10-20 08:20:15 +00:00
opencrypto crypto(9): Print flags in more useful hex 2017-10-11 20:04:30 +00:00
powerpc Enable a bunch more options in the QORIQ64 kernel 2017-11-01 03:54:07 +00:00
riscv Update several more URLs 2017-10-29 08:17:03 +00:00
rpc Listening sockets improvements. 2017-06-08 21:30:34 +00:00
security Sprinkle __read_frequently on few obvious places. 2017-09-06 20:33:33 +00:00
sparc64 Update several more URLs 2017-10-29 08:17:03 +00:00
sys Do not run pmclog_configure_log() without pmc_sx protection. 2017-11-01 11:43:39 +00:00
teken Fix syscons escape sequence for setting the local cursor type. This sequence 2017-08-18 15:40:40 +00:00
tests style(9): sort headers 2017-05-09 05:08:47 +00:00
tools embed_mfs: add error handling, usage 2017-10-17 21:13:26 +00:00
ufs Remove a stale and incorrect comment. 2017-10-28 02:51:27 +00:00
vm Micro-optimize the handling of fictitious pages in vm_page_free_prep(). 2017-10-24 17:14:53 +00:00
x86 Add AT_HWCAP2 ELF auxiliary vector. 2017-10-21 12:05:01 +00:00
xdr * limit size of buffers to RPC_MAXDATASIZE 2017-06-01 06:12:25 +00:00
xen
Makefile Remove glimpse make target added in r181432 2017-05-22 15:53:30 +00:00