freebsd-nq/sys
Bosko Milekic 84e11fbc2e Move the setting of curproc to idleproc up earlier in ap_init(). The
problem is that a mutex lock, prior to this change, is acquired before
the curproc is set to idleproc, so we mess ourselves up by calling
the mutex lock routine with curproc == NULL.

Moving it up after the aps_ready spin-wait has us hopefully setting it
after idleproc is setup.

Solved by: jake (the allmighty) :-)
2001-01-28 03:41:01 +00:00
..
alpha The API UP1100 is close enough to a UP1000 that FreeBSD just works on it, so 2001-01-27 20:56:00 +00:00
amd64 Move the setting of curproc to idleproc up earlier in ap_init(). The 2001-01-28 03:41:01 +00:00
arm/include Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00
boot Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
cam #ifdef a local variable only used in debugging code. 2001-01-24 01:46:57 +00:00
coda Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
compat Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
compile
conf Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards. 2001-01-26 13:22:18 +00:00
contrib/dev Disable strstr() if ACPICA is compiled in userland. 2001-01-10 19:28:03 +00:00
crypto Initial import of AES algorithm code (aka Rijndael) from KAME. 2000-10-30 11:03:32 +00:00
ddb Use macro API for <sys/queue.h> 2000-12-30 22:06:19 +00:00
dev Update Copyright notices for new year. (should have been in last commit). 2001-01-27 20:54:24 +00:00
fs Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
geom Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
gnu Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
i4b Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards. 2001-01-26 13:16:11 +00:00
i386 Move the setting of curproc to idleproc up earlier in ap_init(). The 2001-01-28 03:41:01 +00:00
ia64 Initialise proc0.p_heldmtx and proc0.p_contested and call 2001-01-26 17:52:34 +00:00
isa Consider that the chipset may be in ECP mode (from BIOS settings) 2001-01-25 10:51:41 +00:00
isofs/cd9660 Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
kern Move the setting of curproc to idleproc up earlier in ap_init(). The 2001-01-28 03:41:01 +00:00
libkern - Reverse the order of two loop invariant to ensure strlcat() does not 2001-01-17 20:51:16 +00:00
miscfs - Catch up to proc flag changes. 2001-01-24 11:20:05 +00:00
modules Added necessary include for pc98. 2001-01-25 09:56:04 +00:00
msdosfs Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00
net Minor cleanups after yesterday's patch. 2001-01-26 19:43:54 +00:00
netatalk * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netatm * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netgraph Swap egress hooks for packets entering from the monitor hooks. 2001-01-26 11:35:36 +00:00
netinet Make sure we do not follow an invalid pointer in ipfw_report 2001-01-27 02:31:08 +00:00
netinet6 Fix the vulnerability with TCP ECE packets recently fixed in ipfw. 2001-01-23 21:11:28 +00:00
netipx * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netkey fixed possibility of panic at key_acquire(). 2001-01-14 17:25:08 +00:00
netnatm Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
netncp Common option '-N' do not require an argument. 2001-01-07 07:03:59 +00:00
netns * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
nfs NFS O_EXCL file create semantics temporarily uses file attributes to store 2001-01-04 22:45:19 +00:00
nfsclient NFS O_EXCL file create semantics temporarily uses file attributes to store 2001-01-04 22:45:19 +00:00
nfsserver * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
ntfs Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00
nwfs v_interlock is a mutex now, not simple lock. 2000-11-04 02:42:11 +00:00
pc98 Merged from sys/isa/sio.c revision 1.320. 2001-01-27 13:02:06 +00:00
pccard Fix a minor bug that prevents NEWBUS users from setting more than 2001-01-09 23:39:32 +00:00
pci Disable cy - it is now completely broken and needs non-trivial work. 2001-01-25 01:56:27 +00:00
posix4
powerpc Update some comments, s0 in the pcb of a child returning from fork1() is 2001-01-26 23:32:38 +00:00
rpc
svr4 This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
sys Defer assignment of low level interrupt handlers for PCI interrupts 2001-01-28 01:07:54 +00:00
tools Simplify this a bit so that it doesn't have to generate silly redundant 2000-12-06 06:59:38 +00:00
ufs Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00
vm - Doh, lock faultin() with proc lock in scheduler(). 2001-01-25 01:38:09 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00