freebsd-dev/sys
Mateusz Guzik e57b2b1830 rw: fix runlock_hard when new readers show up
When waiters/writer spinner flags are set no new readers can show up unless
they already have a different rw rock read locked. The change in r326195 failed
to take that into account - in presence of new readers it would spin until
they all drain, which would be lead to trouble if e.g. they go off cpu and
can get scheduled because of this thread.

Reported by:	pho
2017-11-26 21:10:47 +00:00
..
amd64 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
arm Correct some more places where TO_PTR() should be used. 2017-11-26 14:53:56 +00:00
arm64 Add a Saved Process Status Register bit for AArch32 execution mode. 2017-11-26 14:56:23 +00:00
bsm sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
cam Always null-terminate CAM periph_name and dev_name 2017-11-22 19:57:34 +00:00
cddl Duplicate helpers after disabling inherited tracepoints during a fork. 2017-11-23 14:29:07 +00:00
compat Decode kevent structures logged via ktrace(2) in kdump. 2017-11-25 04:49:12 +00:00
conf Avoid emitting a PT_INTERP section for powerpc64 kernels and arrange for 2017-11-25 21:45:51 +00:00
contrib Switch the default firmware for npe(4) from the QOS_VLAN one to the 2017-11-24 15:48:17 +00:00
crypto sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ddb sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
dev Do not bind to CPUs with SMT, which use a different CPU numbering convention 2017-11-25 21:46:51 +00:00
dts dts: arm64: allwinner: Remove unused dts for pine64 2017-11-18 21:39:54 +00:00
fs msdosfs(5): Reflect READONLY attribute in file mode 2017-11-20 21:38:24 +00:00
gdb gdb kernel server: fixup Search:memory style 2017-10-17 01:12:17 +00:00
geom Allow kern.geom.mirror.debug to be negative. 2017-11-23 14:07:52 +00:00
gnu Update our copy of DTS from the ones from Linux 4.14 2017-11-18 15:46:48 +00:00
i386 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
isa sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
kern rw: fix runlock_hard when new readers show up 2017-11-26 21:10:47 +00:00
kgssapi
libkern sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
mips bhnd(4): Add a basic ChipCommon GPIO driver sufficient to support bwn(4) 2017-11-22 23:10:20 +00:00
modules Don't redefine _KERNEL. 2017-11-24 19:08:54 +00:00
net Fix off-by-one error in bit_nclear() usage 2017-11-20 21:57:04 +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 Add to ipfw support for sending an SCTP packet containing an ABORT chunk. 2017-11-26 18:19:01 +00:00
netinet6 sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
netipsec sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
netpfil Add to ipfw support for sending an SCTP packet containing an ABORT chunk. 2017-11-26 18:19:01 +00:00
netsmb spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
nfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nfsclient sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nfsserver sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
nlm
ofed Compile fix for LINT-NOIP kernel target. 2017-11-24 12:05:49 +00:00
opencrypto crypto(9) is called from ipsec in CRYPTO_F_CBIFSYNC mode. This is working 2017-11-03 10:27:22 +00:00
powerpc Synchronize TLB1 mappings when created 2017-11-26 20:30:02 +00:00
riscv Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
rpc sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
security sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
sparc64 Don't let cpu_set_syscall_retval() clobber exec_setregs(). 2017-11-24 07:35:08 +00:00
sys Convert in-kernel thread_lock_flags calls to thread_lock when debug is disabled 2017-11-25 20:37:13 +00:00
teken Fix syscons escape sequence for setting the local cursor type. This sequence 2017-08-18 15:40:40 +00:00
tests
tools sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ufs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm Move vm_phys_init_page() to vm_page.c. 2017-11-26 19:17:55 +00:00
x86 Remove lint support from system headers and MD x86 headers. 2017-11-23 11:40:16 +00:00
xdr
xen
Makefile Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00