Page MenuHomeFreeBSD

amd64 pmap: Prefer consistent naming for loader tunable
ClosedPublic

Authored by zlei on Oct 20 2023, 8:21 AM.
Tags
None
Referenced Files
F151050354: D42311.diff
Sun, Apr 5, 4:07 PM
F151017082: D42311.id129141.diff
Sun, Apr 5, 11:44 AM
Unknown Object (File)
Sat, Apr 4, 12:27 PM
Unknown Object (File)
Sat, Mar 28, 6:26 PM
Unknown Object (File)
Sat, Mar 28, 2:30 PM
Unknown Object (File)
Thu, Mar 19, 5:04 PM
Unknown Object (File)
Mar 4 2026, 8:38 PM
Unknown Object (File)
Feb 17 2026, 12:05 PM
Subscribers

Details

Summary

The sysctl knob 'vm.pmap.allow_2m_x_ept' is loader tunable and have
public document entry in security(7) but is fetched from kernel
environment 'hw.allow_2m_x_ept'. That is inconsistent and obscure.

As there is public security advisory FreeBSD-SA-19:25.mcepsc [1],
people may refer to it and use 'hw.allow_2m_x_ept', let's keep it for
compatibility.

[1] https://www.freebsd.org/security/advisories/FreeBSD-SA-19:25.mcepsc.asc

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable