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
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
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
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
gnu
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
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
netkey
netnatm
netncp
netns
netsmb SMP Lock struct file, filedesc and the global file list. 2002-01-13 11:58:06 +00:00
nfs
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
powerpc Compile osigreturn() unconditionally since it will always be needed on 2002-02-01 15:44:03 +00:00
rpc
security/lomac
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
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