summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-07-08 19:40:35 +0000
committeralc <alc@FreeBSD.org>2003-07-08 19:40:35 +0000
commit3d2e5159d92fde431ac53c9ee408a2103d5b17ee (patch)
tree192c1d801ad9362f959c44b84a27a44a27895a80 /sys/i386
parent7e662706e873d959e220201a5aea98c85e799bfe (diff)
downloadFreeBSD-src-3d2e5159d92fde431ac53c9ee408a2103d5b17ee.zip
FreeBSD-src-3d2e5159d92fde431ac53c9ee408a2103d5b17ee.tar.gz
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
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/pmap.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}
OpenPOWER on IntegriCloud