HomeFreeBSD

powerpc/pseries: Cache the IPI vector to avoid the common static lookup

Description

powerpc/pseries: Cache the IPI vector to avoid the common static lookup

The IPI vector is static, and happens to be the most common interrupt by far
on some systems. Rather than searching for the interrupt every time, cache
the index.

This appears to yield a small performance boost, of about 8% reduction in
buildworld times, on my POWER9 system, when paired with r342975.

Details

Provenance
jhibbitsAuthored on
Parents
rS342975: powerpc: Add opaque 'private data' to interrupt vectors
Branches
Unknown
Tags
Unknown