Subject: CVS commit: [vmlocking] src/sys/arch/i386
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 08/21/2007 10:36:54
Module Name:	src
Committed By:	ad
Date:		Tue Aug 21 10:36:54 UTC 2007

Modified Files:
	src/sys/arch/i386/i386 [vmlocking]: cpu.c genassym.cf pmap.c vector.S
	src/sys/arch/i386/include [vmlocking]: cpu.h pmap.h

Log Message:
- Add ci_cpumask and use in preference to (1 << ci_cpuid). Some processors
  are bad at shifting by non-constant amounts.
- pmap_tlb_shootdown() must be called with preemption disabled.
- Defer waiting for tlb shootdown to complete after kenter_pa()/kremove().
  Spin in pmap_update() and in pmap_detactivate(), in case the LWP has been
  preempted
- When preparing to send a multicast shootdown IPI, avoid scanning the list
  of CPUs if the pmap's bitmask indicates that it's only active locally.


To generate a diff of this commit:
cvs rdiff -r1.35.2.7 -r1.35.2.8 src/sys/arch/i386/i386/cpu.c
cvs rdiff -r1.48.4.4 -r1.48.4.5 src/sys/arch/i386/i386/genassym.cf
cvs rdiff -r1.202.2.14 -r1.202.2.15 src/sys/arch/i386/i386/pmap.c
cvs rdiff -r1.24.6.2 -r1.24.6.3 src/sys/arch/i386/i386/vector.S
cvs rdiff -r1.135.2.9 -r1.135.2.10 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.89.4.3 -r1.89.4.4 src/sys/arch/i386/include/pmap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.