]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/booke: Do as much work outside of TLB locks as possible
authorjhibbits <jhibbits@FreeBSD.org>
Wed, 8 May 2019 16:05:18 +0000 (16:05 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Wed, 8 May 2019 16:05:18 +0000 (16:05 +0000)
commit256e8d266d6cff3462ff1b793c45d7190783ffc7
tree61d258b99135cc8df4007062751e3c10a7bb7be7
parent221350e41a9afc5d491bbc780b25382bc7bcaa42
powerpc/booke: Do as much work outside of TLB locks as possible

Reduce the surface area of the TLB locks.  Unfortunately the same trick for
serializing the tlbie instruction on OEA64 cannot be used here to reduce the
scope of the tlbivax mutex to the tlbsync only, as the mutex also serializes
the TLB miss lock as a side effect, so contention on this lock may not be
reducible any further.
sys/powerpc/booke/pmap.c