freebsd-dev/sys
John Baldwin 78a1485fd1 Fixes for alpha pmap on SMP machines:
- Create a private list of active pmaps rather than abusing the list of all
  processes when we need to look up pmaps.  The process list needs a sx lock
  and we can't be getting sx locks in the middle of cpu_switch()
  (pmap_activate() can call pmap_get_asn() from cpu_switch()).  Instead, we
  protect the list with a spinlock.  This also means the list is shorter
  since a pmap can be used by more than one process and we could (at least
  in thoery) dink with pmap's more than once, but now we only touch each
  pmap once when we have to update all of them.
- Wrap pmap_activate()'s code to get a new ASN in an explicit critical section
  so that when it is called while doing an exec() we can't get preempted.
- Replace splhigh() in pmap_growkernel() with a critical section to prevent
  preemption while we are adjusting the kernel page tables.
- Fixes abuse of PCPU_GET(), which doesn't return an L-value.
- Also adds some slight cleanups to the ASN handling by adding some macros
  instead of magic numbers in relation to the ASN and ASN generations.

Reviewed by:	dfr
2002-02-06 04:30:26 +00:00
..
alpha Fixes for alpha pmap on SMP machines: 2002-02-06 04:30:26 +00:00
amd64 Make the style a little bit more consistant by removing parameter 2002-02-03 11:21:22 +00:00
arm We need machine/{signal,ucontext}.h to build a cross GCC compiler. 2001-12-09 19:39:49 +00:00
boot Expand COMBRD(x) macro. 2002-02-01 14:48:44 +00:00
cam Add support of PhotoClip USB Camera (http://www.myphotoclip.com): 2002-01-31 11:39:17 +00:00
coda Staticise the coda vfsop pointer. 2002-01-08 19:33:51 +00:00
compat include sys/lock.h and sys/mutex.h to make compile. 2002-01-30 23:28:25 +00:00
conf Removed the one use of the mandatory keyword (for npx). 2002-01-30 14:35:58 +00:00
contrib Backout inclusion of queue.h since rev 1.38 sys/file.h now has it 2002-01-14 09:07:15 +00:00
crypto fixed the cast128 calculation with a short cipher key length. 2001-11-27 14:11:47 +00:00
ddb pid is 'long' on alpha. 2002-01-17 02:14:44 +00:00
dev Don't attach to Dell PERC2/QC cards that have a firmware rev of 1.x. This 2002-02-06 01:34:09 +00:00
fs Change EPERM to EOPNOTSUPP when failing pseudofs_setattr() arbitrarily. 2002-02-04 18:21:59 +00:00
geom Reduce kernel stack usage of ccdinit() by MAXPATHLEN by using MALLOC(9). 2001-12-30 17:34:19 +00:00
gnu Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
i4b Make call_desc[] extern since it's also defined in layer4/i4b_l4mgmt.c 2002-01-13 19:16:52 +00:00
i386 Make the style a little bit more consistant by removing parameter 2002-02-03 11:21:22 +00:00
ia64 Compile osigreturn() unconditionally since it will always be needed on 2002-02-01 15:44:03 +00:00
isa - Do not hang if the resource allocation fails. 2002-02-05 06:52:56 +00:00
isofs/cd9660 Fix mounting root from a ISO9660 filesystem on a SCSI CDROM. 2001-11-27 03:55:43 +00:00
kern Fixes for alpha pmap on SMP machines: 2002-02-06 04:30:26 +00:00
libkern * Remove __P and convert to ANSI prototypes. 2002-02-01 01:32:19 +00:00
modules Move the pseudofs, procfs and linprocfs modules out from the fs directory. 2002-02-04 20:16:50 +00:00
net Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
netatalk Make `options NETATALK' compile after the -fno-common changes. 2002-01-16 11:26:50 +00:00
netatm Allow this to compile again 2002-01-30 23:38:31 +00:00
netgraph The hardware checksum code makes the assumption that a packet routed out 2002-02-05 18:27:30 +00:00
netinet In tcp_respond(), correctly reset returned IPv6 header. This is essential 2002-02-04 17:37:06 +00:00
netinet6 Corrected an argument to in6_pcbnotify(). 2002-02-04 17:40:36 +00:00
netipx Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netkey Newer SA is prefered for a out-bound packet than old one 2001-12-05 05:40:49 +00:00
netnatm Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netncp Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
netns Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netsmb SMP Lock struct file, filedesc and the global file list. 2002-01-13 11:58:06 +00:00
nfs When the old nfsm_adv() macro was moved to nfsm_adv_xx(), a '>=' 2001-12-31 06:56:31 +00:00
nfsclient Revise the nfsiod auto tuning code. Now both the upper and lower limits 2002-01-15 20:57:21 +00:00
nfsserver The vnode was not being vput()'d in the EEXIST mknod case on the nfs 2002-01-14 19:14:08 +00:00
pc98 Use osigreturn(2) instead of sigreturn(2) plus broken magic for returning 2002-02-03 09:13:58 +00:00
pccard The datasheet for the 6710/6722 says that you must use one method to 2002-01-14 14:10:13 +00:00
pci Correctly identify the Intel 82830 AGP bridge. 2002-02-05 23:13:25 +00:00
posix4 KSE Milestone 2 2001-09-12 08:38:13 +00:00
powerpc Compile osigreturn() unconditionally since it will always be needed on 2002-02-01 15:44:03 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
security/lomac s/sonewconn3/sonewconn/ forgotten by the modifier. 2001-12-26 18:31:22 +00:00
sparc64 Compile osigreturn() unconditionally since it will always be needed on 2002-02-01 15:44:03 +00:00
svr4
sys Let the number of timecounters follow hz, otherwise people with 2002-02-05 20:44:56 +00:00
tools Throw the $FreeBSD$s back in, properly escaping them. 2002-01-04 05:27:47 +00:00
ufs When taking a snapshot, we must check for active files that have 2002-02-02 01:42:44 +00:00
vm Fix a race with free'ing vmspaces at process exit when vmspaces are 2002-02-05 21:23:05 +00:00
Makefile