]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Eliminate unnecessary invalidations of the entire TLB by pmap_remove().
authoralc <alc@FreeBSD.org>
Tue, 21 Mar 2006 18:07:42 +0000 (18:07 +0000)
committeralc <alc@FreeBSD.org>
Tue, 21 Mar 2006 18:07:42 +0000 (18:07 +0000)
commit108c9331c3255430be9a03eaa0bebb35c4bbfc03
treebe39fe57b84dfffdd4fafd128ed3ec4f9a4218e1
parent2276f34c5fe887ff9ffe16296b723f9b16881154
Eliminate unnecessary invalidations of the entire TLB by pmap_remove().
Specifically, on mappings with PG_G set pmap_remove() not only performs
the necessary per-page invlpg invalidations but also performs an
unnecessary invalidation of the entire set of non-PG_G entries.

Reviewed by: tegge
sys/amd64/amd64/pmap.c
sys/i386/i386/pmap.c