Date: Mon, 5 Apr 1999 21:52:28 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 pmap.c Message-ID: <199904060452.VAA12422@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 1999/04/05 21:52:27 PDT
Modified files:
sys/i386/i386 pmap.c
Log:
Two changes to pmap_remove_all:
1. Switch to pmap_TLB_invalidate from invltlb, eliminating a full TLB
flush where a single-page flush suffices. (Also, this eliminates some
unnecessary IPIs.)
2. Use "loadandclear" to update the pte, eliminating a race condition
on SMPs.
Change #2 should be committed to -STABLE.
Revision Changes Path
1.228 +5 -20 src/sys/i386/i386/pmap.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904060452.VAA12422>
