freebsd-skq/sys
kib 486320aac4 If callout_stop_safe() noted that the callout is currently executing,
but next invocation is cancelled while migrating,
sleepq_check_timeout() needs to be informed that the callout is
stopped.  Otherwise the thread switches off CPU and never become
runnable, since running callout could have already raced with us,
while the migrating and cancelled callout could be one which is
expected to set TDP_TIMOFAIL flag for us.  This contradicts with the
expected behaviour of callout_stop() for other callers, which
e.g. decrement references from the callout callbacks.

Add a new flag CS_MIGRBLOCK requesting report of the situation as
'successfully stopped'.

Reviewed by:	jhb (previous version)
Tested by:	cognet, pho
PR:	200992
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D5221
2016-03-02 18:46:17 +00:00
..
amd64
arm The cpu_reset_needs_v4_MMU_disable variable is only used in locore-v4.S, 2016-03-02 14:33:46 +00:00
arm64 Force re-routing PCI interrupts (this is for legacy INTx not MSI). 2016-03-02 15:20:42 +00:00
boot userboot: use MK_CTF=no to disable CTF 2016-02-29 17:54:55 +00:00
bsm
cam
cddl
compat
conf Refactor the AIO subsystem to permit file-type-specific handling and 2016-03-01 18:12:14 +00:00
contrib Remove redundant NULL pointer comparison. 2016-03-02 03:28:57 +00:00
crypto
ddb
dev Add gem5 support, so we attach there as well. 2016-03-02 15:26:55 +00:00
fs
gdb
geom
gnu
i386
isa
kern If callout_stop_safe() noted that the callout is currently executing, 2016-03-02 18:46:17 +00:00
kgssapi
libkern
mips Make the memory size returned from fdt_get_mem_regions a 64-bit type. This 2016-03-01 11:39:07 +00:00
modules Refactor the AIO subsystem to permit file-type-specific handling and 2016-03-01 18:12:14 +00:00
net buf_ring/drbr: Add buf_ring_peek_clear_sc and use it in drbr_peek 2016-02-29 03:54:51 +00:00
net80211 Use m_catpkt(9) to avoid a possible use-after-free in ieee80211_defrag(). 2016-03-02 05:01:58 +00:00
netgraph
netinet
netinet6 New way to manage reference counting of mbuf external storage. 2016-03-01 00:17:14 +00:00
netipsec Set tres to NULL to avoid a double free if the m_pullup() below fails. 2016-03-02 05:04:04 +00:00
netnatm
netpfil Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
pc98
powerpc Fix 2 bugs in the mpc85xx local bus controller driver. 2016-03-02 00:18:05 +00:00
riscv Make the fdt_get_mem_regions memsize argument optional. It's only used in 2016-03-01 09:45:27 +00:00
rpc
security
sparc64 Correct the memory rman ranges to be to BUS_SPACE_MAXADDR 2016-03-01 02:59:06 +00:00
sys If callout_stop_safe() noted that the callout is currently executing, 2016-03-02 18:46:17 +00:00
teken
tests
tools
ufs
vm Remove UMA_ZONE_REFCNT feature, now unused. 2016-03-01 00:33:32 +00:00
x86 Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
xdr
xen
Makefile Add riscv to the list of architectures for cscope. 2016-02-29 16:39:27 +00:00