freebsd-dev/sys
John Baldwin 91a4536f22 - Fix a bug in the previous workaround for the tsleep/endtsleep race.
callout_stop() would fail in two cases:
    1) The timeout was currently executing, and
    2) The timeout had already executed.
  We only needed to work around the race for 1).  We caught some instances
  of 2) via the PS_TIMEOUT flag, however, if endtsleep() fired after the
  process had been woken up but before it had resumed execution,
  PS_TIMEOUT would not be set, but callout_stop() would fail, so we
  would block the process until endtsleep() resumed it.  Except that
  endtsleep() had already run and couldn't resume it.  This adds a new flag
  PS_TIMOFAIL to indicate the case of 2) when PS_TIMEOUT isn't set.
- Implement this race fix for condition variables as well.

Tested by:	sos
2001-08-21 18:42:45 +00:00
..
alpha Protect prototype of ptrace_clear_single_step() with #ifdef _KERNEL/#endif. 2001-08-21 13:42:39 +00:00
amd64 The general conesnsus on irc was that pci bios for config registers 2001-08-21 07:53:37 +00:00
arm Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
boot mdoc(7) police: markup nits. 2001-08-20 08:55:07 +00:00
cam Eliminate the hot-spare 'r' in Arrray. 2001-08-10 11:47:08 +00:00
coda Warning fix: coda_fbsd.c:113: warning: unused variable `ret' 2001-06-15 00:02:27 +00:00
compat Added the linux_sysinfo function to implement sysinfo(2). 2001-07-23 06:22:10 +00:00
conf Add code for supporting hardware watch points. 2001-08-20 23:50:08 +00:00
contrib fix import/merge related code problems 2001-07-30 10:53:23 +00:00
crypto properly check DES weak key. KAME PR 363. 2001-07-03 17:46:48 +00:00
ddb No tokens should follow #endif. 2001-08-15 03:38:49 +00:00
dev Fix error checking about device state transition from D0 to D3. 2001-08-21 18:22:40 +00:00
fs Use proper endian conversion. 2001-08-21 08:27:47 +00:00
geom Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
gnu Do not depend on pcb_savefpu backwards compat #define. 2001-07-12 12:19:11 +00:00
i4b make driver compile under 4.3-STABLE 2001-07-22 19:55:05 +00:00
i386 The general conesnsus on irc was that pci bios for config registers 2001-08-21 07:53:37 +00:00
ia64 Make COMPAT_43 optional again. XXX we need COMPAT_FBSD3 etc for this 2001-08-21 02:32:59 +00:00
isa Fix the so-called "half-baked-probe" code that I wrote a long time ago 2001-08-16 17:30:55 +00:00
isofs/cd9660 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file 2001-05-23 09:42:29 +00:00
kern - Fix a bug in the previous workaround for the tsleep/endtsleep race. 2001-08-21 18:42:45 +00:00
libkern We do not have UPAGES following the tail end of the user VM space anymore. 2001-08-08 04:02:22 +00:00
modules Add support for 802.1Q VLAN and oversized ethernet frames. 2001-08-13 18:32:39 +00:00
net Fix typo 2001-08-16 17:17:54 +00:00
netatalk Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
netatm Commited patch for uni signaling fix. 2001-07-11 16:31:50 +00:00
netgraph Fix two typos 2001-08-21 13:20:02 +00:00
netinet Added TFTP support. 2001-08-21 16:25:38 +00:00
netinet6 Fix fencepost error causing creation of 0-length mbufs when the boundary 2001-08-20 17:58:46 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey printed current sequence number of the SA. accordingly, changed 2001-08-06 19:40:01 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp Mark some functions as __printflike() and/or taking const char * arguments 2001-08-20 12:53:36 +00:00
netns
netsmb Map errdos:67 to the ENOENT. 2001-08-21 09:16:57 +00:00
nfs Fix a client-side memory leak in nfs_flush(). The code allocates 2001-08-01 10:25:13 +00:00
nfsclient Fix a client-side memory leak in nfs_flush(). The code allocates 2001-08-01 10:25:13 +00:00
nfsserver With Alfred's permission, remove vm_mtx in favor of a fine-grained approach 2001-07-04 16:20:28 +00:00
pc98 Make COMPAT_43 optional again. XXX we need COMPAT_FBSD3 etc for this 2001-08-21 02:32:59 +00:00
pccard It looks like we're doing the wrong thing by catching the setup_intr 2001-08-21 18:13:16 +00:00
pci After one more day of testing, make what I hope are the final tweaks to 2001-08-16 20:15:16 +00:00
posix4 - Close races with signals and other AST's being triggered while we are in 2001-08-10 22:53:32 +00:00
powerpc Make COMPAT_43 optional again. XXX we need COMPAT_FBSD3 etc for this 2001-08-21 02:32:59 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
sparc64 Use register g6 to point to a small stack for svaing alternate globals 2001-08-21 00:07:37 +00:00
svr4
sys - Fix a bug in the previous workaround for the tsleep/endtsleep race. 2001-08-21 18:42:45 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
ufs Sigh. ufs_lookup() calls ffs_snapgone(), meaning that 'options EXT2FS' 2001-08-18 03:08:48 +00:00
vm Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
Makefile