freebsd-dev/sys
Jake Burkholder 5573db3f0b Allocate tlb contexts on the fly in cpu_switch, instead of statically 1 to 1
with pmaps.  When the context numbers wrap around we flush all user mappings
from the tlb.  This makes use of the array indexed by cpuid to allow a pmap
to have a different context number on a different cpu.  If the context numbers
are then divided evenly among cpus such that none are shared, we can avoid
sending tlb shootdown ipis in an smp system for non-shared pmaps.  This also
removes a limit of 8192 processes (pmaps) that could be active at any given
time due to running out of tlb contexts.

Inspired by:		the brown book
Crucial bugfix from:	tmm
2002-03-04 05:20:29 +00:00
..
alpha Make it compile again. 2002-03-01 23:15:45 +00:00
amd64 - Move a comment from being on the same line as a #ifdef to the line 2002-02-28 21:52:08 +00:00
arm We need machine/{signal,ucontext}.h to build a cross GCC compiler. 2001-12-09 19:39:49 +00:00
boot Support for USB fm radio. 2002-03-04 03:51:21 +00:00
cam Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
coda Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
compat Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
conf Support for USB fm radio. 2002-03-04 03:51:21 +00:00
contrib Change two occurrences of HTONS() to use htons(). 2002-02-28 09:56:31 +00:00
crypto off by one error in Aaron Gifford's code. KAME PR 393. 2002-02-26 16:58:58 +00:00
ddb ^U kills an entire input line in most applications, 2002-02-12 23:38:40 +00:00
dev Support for USB fm radio. 2002-03-04 03:51:21 +00:00
fs Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
geom Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
gnu Deverbosified previous 2 commits (removed the rotted list of reasons why 2002-03-02 11:14:13 +00:00
i4b Quiet bogus gcc warning 2002-02-28 03:15:53 +00:00
i386 Support for USB fm radio. 2002-03-04 03:51:21 +00:00
ia64 * Include <sys/ucontext.h> so that this compiles again. 2002-03-03 19:23:15 +00:00
isa revert last commit temporarily due to whining on the lists. 2002-02-26 20:33:41 +00:00
isofs/cd9660 Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
kern Fix bug in mb_alloc that made systems configured with 2002-03-03 22:10:04 +00:00
libkern Add the following functions/macros to support byte order conversions and 2002-02-27 17:16:18 +00:00
modules Support for USB fm radio. 2002-03-04 03:51:21 +00:00
net Fix warnings. 2002-02-28 00:09:17 +00:00
netatalk Make `options NETATALK' compile after the -fno-common changes. 2002-01-16 11:26:50 +00:00
netatm Unbreak fore adapters from POV of warnings. 2002-02-27 21:12:44 +00:00
netgraph Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
netinet - Set inc_isipv6 in tcp6_usr_connect(). 2002-02-28 17:11:10 +00:00
netinet6 - In nd6_rtrequest(), ignored a route when it is created by cloning and 2002-02-28 17:05:46 +00:00
netipx Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
netkey missing splx 2002-03-01 13:13:17 +00:00
netnatm Fix warnings 2002-02-28 03:02:20 +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 Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +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 Fix warnings.. bootpc_init() and related. 2002-02-28 03:07:35 +00:00
nfsserver Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
pc98 MFi386: revision 1.498. 2002-03-02 13:19:22 +00:00
pccard Get the generic name right 2002-03-03 01:04:39 +00:00
pci Fix warning; amdsmb_abort() is not used. 2002-02-26 01:04:58 +00:00
posix4 In a threaded world, differnt priorirites become properties of 2002-02-11 20:37:54 +00:00
powerpc - Move a comment from being on the same line as a #ifdef to the line 2002-02-28 21:52:08 +00:00
rpc
security/lomac Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
sparc64 Allocate tlb contexts on the fly in cpu_switch, instead of statically 1 to 1 2002-03-04 05:20:29 +00:00
svr4
sys Provide infrastructure for harvesting SWI entropy. 2002-03-03 20:09:42 +00:00
tools Return vnode_if back to its AWK roots. 2002-03-01 01:20:23 +00:00
ufs Use thread0.td_ucred instead of proc0.p_ucred. This change is cosmetic 2002-02-27 19:18:10 +00:00
vm Call vm_pageq_remove_nowakeup() rather than duplicating it. 2002-03-03 22:36:14 +00:00
Makefile