HomeFreeBSD

Stop calling cpu_dcache_wb_range from PTE_SYNC.

Description

Stop calling cpu_dcache_wb_range from PTE_SYNC.

We set the shareability attributes in TCR_EL1 on boot. These tell the
hardware the pagetables are in cached memory so there is no need to flush
the entries from the cache to memory.

This has about 4.2% improvement in system time and 2.7% improvement in
user time for a buildkernel -j48 on a ThunderX.

Keep the old code for now to allow for further comparisons.

Details

Provenance
andrewAuthored on
Parents
rS320327: Remove ALLWINNER kernel config file, all release image for SMP Allwinner
Branches
Unknown
Tags
Unknown