HomeFreeBSD

powerpc64: Micro-optimize moea64 native pmap tlbie

Description

powerpc64: Micro-optimize moea64 native pmap tlbie

  • Cache moea64_need_lock in a local variable; gcc generates slightly better code this way, it doesn't need to reload the value from memory each read.
  • VPN cropping is only needed on PowerPC ISA 2.02 and older cores, a subset of those that need serialization, so move this under the need_lock check, so those that don't need the lock don't even need to check this.

Details

Provenance
jhibbitsAuthored on
Parents
rS345519: Allow kernel config to specify DTS/DTSO to build, and out-of-tree support
Branches
Unknown
Tags
Unknown