[Bug 178357] [amd64] [patch] export CPU physical and virtual address sizes in sysctl oids using do_cpuid
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 25 10:08:32 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178357
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib at FreeBSD.org
--- Comment #4 from Konstantin Belousov <kib at FreeBSD.org> ---
Exporting CPUID values through sysctl is useless.
Besides that we have cpuctl(4) which exports it using ioctl(2) and accessible
by cpucontrol(8). And we have x86info in ports. So the patch would add yet
another way to access something that is readily available as a single
instruction.
Note that virtual address width is not used for anything, and will be not until
the CPUs with 5-level page tables appear. When they do, this thing would need
completely different treatment at the pmap.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-amd64
mailing list