HomeFreeBSD

powerpc/pmap64: Make moea64 statistics optional

Description

powerpc/pmap64: Make moea64 statistics optional

Summary:
It turns out statistics accounting is very expensive in the pmap driver,
and doesn't seem necessary in the common case. Make this optional
behind a MOEA64_STATS #define, which one can set if they really need
statistics.

This saves ~7-8% on buildworld time on a POWER9.

Found by bdragon.

Reviewed by: luporl
Differential Revision: https://reviews.freebsd.org/D20903

Details

Provenance
jhibbitsAuthored on Jul 25 2019, 3:47 AM
Parents
rG160915367c0e: Fix the fix to the logic bug. Upon further testing, the bug is that we shadoow
Branches
Unknown
Tags
Unknown

Event Timeline