1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys
Bosko Milekic 4bde2ac539 Fix is a similar race condition as existed in the mbuf code. When we go
into an interruptable sleep and we increment a sleep count, we make sure
that we are the thread that will decrement the count when we wakeup.
Otherwise, what happens is that if we get interrupted (signal) and we
have to wake up, but before we get our mutex, some thread that wants
to wake us up detects that the count is non-zero and so enters wakeup_one(),
but there's nothing on the sleep queue and so we don't get woken up. The
thread will still decrement the sleep count, which is bad because we will
also decrement it again later (as we got interrupted) and are already off
the sleep queue.
2001-03-08 19:21:45 +00:00
..
alpha Unrevert the pmap_map() changes. They weren't broken on x86. 2001-03-07 05:29:21 +00:00
amd64 Unrevert the pmap_map() changes. They weren't broken on x86. 2001-03-07 05:29:21 +00:00
arm/include Correct disordering which is corresponding to bde's fix to 2001-02-17 14:51:11 +00:00
boot Goodbye vn, welcome md. 2001-03-07 09:42:41 +00:00
cam o Support AUTO SENSE correctly. 2001-02-25 12:40:30 +00:00
coda
compat Grab the process lock while calling psignal and before calling psignal. 2001-03-07 03:37:06 +00:00
compile
conf Split out the ata probes in seperate files for each bus type. 2001-03-06 21:43:46 +00:00
contrib/dev Move configuration of work_memory to oltr_init() rather than 2001-03-08 01:38:58 +00:00
crypto
ddb
dev Remember to actually program the MAC address into the unicast filter 2001-03-07 18:52:22 +00:00
fs Fixes to track snapshot copy-on-write checking in the specinfo 2001-03-07 07:09:55 +00:00
geom
gnu Fixes to track snapshot copy-on-write checking in the specinfo 2001-03-07 07:09:55 +00:00
i4b Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
i386 Unrevert the pmap_map() changes. They weren't broken on x86. 2001-03-07 05:29:21 +00:00
ia64 Unrevert the pmap_map() changes. They weren't broken on x86. 2001-03-07 05:29:21 +00:00
isa Add GVC1601 - Rockwell V.34 Plug & Play Modem 2001-03-07 14:27:56 +00:00
isofs/cd9660 Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
kern Fix is a similar race condition as existed in the mbuf code. When we go 2001-03-08 19:21:45 +00:00
libkern
miscfs Fixes to track snapshot copy-on-write checking in the specinfo 2001-03-07 07:09:55 +00:00
modules #if 0 out a variable only used in #if 0'd code to quiet a warning. 2001-03-06 03:07:58 +00:00
msdosfs Grab the process lock while calling psignal and before calling psignal. 2001-03-07 03:37:06 +00:00
net Protect against negative numbers as well 2001-02-26 09:52:43 +00:00
netatalk
netatm Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
netgraph Cleanups to Macros for sending data between netgraph nodes. 2001-03-03 05:52:49 +00:00
netinet It was possible for ip_forward() to supply to icmp_error() 2001-03-08 19:03:26 +00:00
netinet6 More IP option length validation. 2001-02-26 03:41:13 +00:00
netipx
netkey
netnatm
netncp
netns
nfs Grab the process lock while calling psignal and before calling psignal. 2001-03-07 03:37:06 +00:00
nfsclient Grab the process lock while calling psignal and before calling psignal. 2001-03-07 03:37:06 +00:00
nfsserver Switch to using a struct xucred instead of a struct xucred when not 2001-02-18 13:30:20 +00:00
ntfs Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
nwfs Grab the process lock while calling psignal and before calling psignal. 2001-03-07 03:37:06 +00:00
pc98 Replaced p (undeclared) with curproc (after i386/isa/npx.c). 2001-03-08 14:25:51 +00:00
pccard
pci Remember to actually program the MAC address into the unicast filter 2001-03-07 18:52:22 +00:00
posix4 Lock need_resched with sched_lock. 2001-02-22 13:46:09 +00:00
powerpc Use the proc lock to protect p_pptr when waking up our parent in cpu_exit() 2001-03-07 03:20:15 +00:00
rpc
svr4
sys Take the KINFO_PROC_SIZE back down to 912 on alpha. 2001-03-08 15:17:38 +00:00
tools
ufs Fixes to track snapshot copy-on-write checking in the specinfo 2001-03-07 07:09:55 +00:00
vm Unrevert the pmap_map() changes. They weren't broken on x86. 2001-03-07 05:29:21 +00:00
Makefile