Subject: CVS commit: syssrc/sys/arch/alpha
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 07/15/2001 19:42:19
Module Name: syssrc
Committed By: thorpej
Date: Sun Jul 15 16:42:19 UTC 2001
Modified Files:
syssrc/sys/arch/alpha/alpha: ipifuncs.c pmap.c
syssrc/sys/arch/alpha/include: intr.h pmap.h
Log Message:
- Tweak the pmap locking protocol slightly -- require that a pmap must
be locked before it can be marked as `active' on a processor.
- Require that pmaps other than the kernel pmap be locked when they
are passed to pmap_tlb_shootdown(). This, combined with the locking
protocol tweak, allow us to get a consistent view of `activeness' of
a pmap, which means we can optmize away a lot of TLB shootdown traffic
for user pmaps.
- Borrow an idea from the i386mp branch; use the normal SHOOTDOWN IPI
to deal with hitting the entire TLB, and garbage-collect the TBIA
and TBIAP IPIs.
To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 syssrc/sys/arch/alpha/alpha/ipifuncs.c
cvs rdiff -r1.181 -r1.182 syssrc/sys/arch/alpha/alpha/pmap.c
cvs rdiff -r1.47 -r1.48 syssrc/sys/arch/alpha/include/intr.h
cvs rdiff -r1.51 -r1.52 syssrc/sys/arch/alpha/include/pmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.