HomeFreeBSD

[PowerPC] Don't overwrite vm.pmap sysctl node

Description

[PowerPC] Don't overwrite vm.pmap sysctl node

After r367417, both mmu_oea64 and mmu_radix were defining the vm.pmap
sysctl node, resulting in the later definition hiding the properties of
the previous one. Avoid this issue by defining vm.pmap in a common
source file and declaring it where needed.

This change also standardizes the tunable name used to enable superpages
and change its default to disabled on radix MMU, because it still has some
issues with superpages.

Reviewed by: bdragon, jhibbits
Sponsored by: Eldorado Research Institute (eldorado.org.br)
Differential Revision: https://reviews.freebsd.org/D27156

Details

Provenance
luporlAuthored on
Reviewer
bdragon
Differential Revision
D27156: [PowerPC] Don't overwrite vm.pmap sysctl node
Parents
rS367757: Improve readability of the lists of options
Branches
Unknown
Tags
Unknown