freebsd-dev/sys/powerpc/powerpc
Leandro Lupori e2d6c417e3 Implement superpages for PowerPC64 (HPT)
This change adds support for transparent superpages for PowerPC64
systems using Hashed Page Tables (HPT). All pmap operations are
supported.

The changes were inspired by RISC-V implementation of superpages,
by @markj (r344106), but heavily adapted to fit PPC64 HPT architecture
and existing MMU OEA64 code.

While these changes are not better tested, superpages support is disabled by
default. To enable it, use vm.pmap.superpages_enabled=1.

In this initial implementation, when superpages are disabled, system
performance stays at the same level as without these changes. When
superpages are enabled, buildworld time increases a bit (~2%). However,
for workloads that put a heavy pressure on the TLB the performance boost
is much bigger (see HPC Challenge and pgbench on D25237).

Reviewed by:	jhibbits
Sponsored by:	Eldorado Research Institute (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D25237
2020-11-06 14:12:45 +00:00
..
altivec.c
autoconf.c
bus_machdep.c
busdma_machdep.c
clock.c
copyinout.c
cpu_subr64.S [PowerPC64LE] Fix sleeping on POWER8. 2020-09-23 02:28:19 +00:00
cpu.c [PowerPC] Make PPC 970 PMC SPRs the standard ones 2020-11-05 14:15:50 +00:00
db_disasm.c
db_hwwatch.c
db_interface.c
db_trace.c
dump_machdep.c
elf32_machdep.c random(4) FenestrasX: Push root seed version to arc4random(3) 2020-10-10 21:52:00 +00:00
elf64_machdep.c random(4) FenestrasX: Push root seed version to arc4random(3) 2020-10-10 21:52:00 +00:00
elf_common.c
exec_machdep.c [POWERPC] Floating-Point Exception trap support 2020-11-06 13:34:30 +00:00
fpu.c [POWERPC] Floating-Point Exception trap support 2020-11-06 13:34:30 +00:00
gdb_machdep.c
genassym.c
in_cksum.c
interrupt.c
intr_machdep.c
iommu_if.m
machdep.c
mem.c
minidump_machdep.c Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
mp_machdep.c
nexus.c
openpic.c
pic_if.m
platform_if.m
platform.c
pmap_dispatch.c Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
ptrace_machdep.c
sc_machdep.c
setjmp.S
sigcode32.S
sigcode64.S
stack_machdep.c
support.S
swtch32.S
swtch64.S
syncicache.c
sys_machdep.c
trap.c [POWERPC] Floating-Point Exception trap support 2020-11-06 13:34:30 +00:00
uio_machdep.c
uma_machdep.c Tidy up the #includes. Recent changes, such as the introduction of 2020-11-02 19:20:06 +00:00
vm_machdep.c