freebsd-skq/sys
Julien Charbon a1e6f8ff27 callout_stop() should return 0 (fail) when the callout is currently
being serviced and indeed unstoppable.

A scenario to reproduce this case is:

- the callout is being serviced and at same time,
- callout_reset() is called on this callout that sets
  the CALLOUT_PENDING flag and at same time,
- callout_stop() is called on this callout and returns 1 (success)
  even if the callout is indeed currently running and unstoppable.

This issue was caught up while making r284245 (D2763) workaround, and
was discussed at BSDCan 2015.  Once applied the r284245 workaround
is not needed anymore and will be reverted.

Differential Revision:	https://reviews.freebsd.org/D3078
Reviewed by:		jhb
Sponsored by:		Verisign, Inc.
2015-08-18 10:15:09 +00:00
..
amd64 Add 24 more page table pages we allocate on boot-up. 16MB slop 2015-08-18 01:53:41 +00:00
arm Some cleanups to make the style of pmap_quick_enter_page() and pmap_quick_remove_page() in arm/pmap-v6-new.c more consistent with the rest of the file. 2015-08-17 18:28:40 +00:00
arm64 Remove register dump from arm64 el0 unknown exception 2015-08-18 10:07:03 +00:00
boot Make dtb file configurable via loader(8) variable. ubldr already checks 2015-08-15 21:47:07 +00:00
bsm
cam Polish sizes processing. 2015-08-15 18:22:16 +00:00
cddl Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
compat Don't forget to invoke pre_execve() and post_execve(). 2015-08-17 13:07:12 +00:00
conf Add DEV_RANDOM pseudo-option and use it to "include out" random(4) 2015-08-17 07:36:12 +00:00
contrib Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Support frame buffers that are larger than the default screen 2015-08-18 00:47:02 +00:00
fs For the case where an NFSv4.1 ExchangeID operation has the client identifier 2015-08-14 22:02:14 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Clean out some externally visible "more then" grammar 2015-08-11 03:12:09 +00:00
gnu The GNU Amlogic DTS files have some errors (e.g. bad register 2015-04-11 08:17:39 +00:00
i386 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
isa
kern callout_stop() should return 0 (fail) when the callout is currently 2015-08-18 10:15:09 +00:00
kgssapi
libkern Remove checks for __ARM_EABI__, we only build for EABI now. 2015-07-09 21:02:40 +00:00
mips Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
modules Fix the build of gpiobus as a module. 2015-08-17 17:01:26 +00:00
net Make LAG LACP fast timeout tunable through IOCTL. 2015-08-12 20:21:04 +00:00
net80211 Revert the wifi ifnet changes until things are more baked and tested. 2015-08-08 01:10:17 +00:00
netgraph * Address review (and add a bit myself). 2015-07-12 18:14:38 +00:00
netinet Make clear that TIME_WAIT timeout expiration is managed solely by 2015-08-18 08:27:26 +00:00
netinet6 Use single 'lle_timer' callout in lltable instead of 2015-08-11 12:38:54 +00:00
netipsec Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
netnatm
netpfil Fix the copy of addresses passed from userland in table replace command. 2015-08-17 23:03:54 +00:00
netsmb
nfs
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver
nlm
ofed Reinstate unify_tcp_port_space and associated code that was lost during 2015-08-12 22:09:58 +00:00
opencrypto Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
pc98 Remove unused i386 header privatespace.h. For the native kernel, its 2015-08-07 05:59:58 +00:00
powerpc SRR1 and DSISR aren't pointers, print them as integers. 2015-08-16 01:08:59 +00:00
rpc Remove useless acquire semantic from the atomic_add operation before 2015-07-28 06:58:10 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
sys Bump __FreeBSD_version for the jemalloc 4.0.0 import. 2015-08-18 08:29:13 +00:00
teken Pick UINT_MAX / 100 as an upperbound. 2015-08-16 13:59:11 +00:00
tools
ufs - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 2015-07-29 02:26:57 +00:00
vm As another piece of PG_CACHE page elimination, remove an LRU-defeating call 2015-08-16 17:07:53 +00:00
x86 Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the x86 busdma_bounce implementation. Also treat user buffers as unmapped. 2015-08-14 20:08:16 +00:00
xdr
xen Remove another remnant of PV domU support and assume that we always run 2015-08-14 18:38:39 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00