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
Unknown Object (File)
Thu, Nov 14, 3:04 AM
Unknown Object (File)
Thu, Nov 7, 1:18 PM
Unknown Object (File)
Oct 20 2024, 6:58 PM
Unknown Object (File)
Oct 3 2024, 6:12 PM
Unknown Object (File)
Sep 29 2024, 6:30 PM
Unknown Object (File)
Sep 18 2024, 1:10 AM
Unknown Object (File)
Sep 8 2024, 4:15 PM
Unknown Object (File)
Sep 8 2024, 12:32 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