Date: Sat, 5 May 2007 21:13:16 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 mp_machdep.c pmap.c Message-ID: <200705052113.l45LDGuQ001605@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2007-05-05 21:13:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/amd64 mp_machdep.c pmap.c Log: MFC Acquiring smp_ipi_mtx on every call to pmap_invalidate_*() is wasteful. For example, during a buildworld more than half of the calls do not generate an IPI because the only TLB entry invalidated is on the calling processor. This revision pushes down the acquisition and release of smp_ipi_mtx into smp_tlb_shootdown() and smp_targeted_tlb_shootdown() and instead uses sched_pin() and sched_unpin() in pmap_invalidate_*() so that thread migration doesn't lead to a missed TLB invalidation. Revision Changes Path 1.260.2.11 +8 -2 src/sys/amd64/amd64/mp_machdep.c 1.516.2.15 +8 -64 src/sys/amd64/amd64/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705052113.l45LDGuQ001605>