From 3d2e5159d92fde431ac53c9ee408a2103d5b17ee Mon Sep 17 00:00:00 2001 From: alc Date: Tue, 8 Jul 2003 19:40:35 +0000 Subject: In pmap_object_init_pt(), the pmap_invalidate_all() should be performed on the caller-provided pmap, not the kernel_pmap. Using the kernel_pmap results in an unnecessary IPI for TLB shootdown on SMPs. Reviewed by: jake, peter --- sys/i386/i386/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386') diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 0e34600..a819da2 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -2264,7 +2264,7 @@ retry: ptepa += NBPDR; ptepindex += 1; } - pmap_invalidate_all(kernel_pmap); + pmap_invalidate_all(pmap); } } -- cgit v1.1