alc e5d284af0e 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.

Reviewed by: jhb
MFC after: 3 weeks
2007-03-05 21:40:10 +00:00
..
2007-03-05 06:33:08 +00:00
2007-03-04 04:53:17 +00:00
2007-03-02 01:10:26 +00:00
2007-02-28 22:05:30 +00:00
2007-03-04 16:32:19 +00:00
2006-12-14 17:33:46 +00:00
2006-11-28 19:33:28 +00:00
2007-02-25 10:52:47 +00:00
2007-03-01 23:14:46 +00:00
2006-11-26 18:27:16 +00:00