Date: Fri, 25 Jan 2019 10:08:29 +0000 From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 178357] [amd64] [patch] export CPU physical and virtual address sizes in sysctl oids using do_cpuid Message-ID: <bug-178357-17361-12Dh6kJkJ1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-178357-17361@https.bugs.freebsd.org/bugzilla/> References: <bug-178357-17361@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D178357 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #4 from Konstantin Belousov <kib@FreeBSD.org> --- Exporting CPUID values through sysctl is useless. Besides that we have cpuctl(4) which exports it using ioctl(2) and accessib= le 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 u= ntil the CPUs with 5-level page tables appear. When they do, this thing would n= eed completely different treatment at the pmap. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-178357-17361-12Dh6kJkJ1>