[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
Mon Jan 28 20:53:27 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178357

Sofian Brabez <sbz at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |FIXED

--- Comment #5 from Sofian Brabez <sbz at FreeBSD.org> ---
Hi Oleksandr. Wow 2013, thanks for doing the triage!

As John mentioned, the part about exposing them on linprocfs made sense. Since
I verified, it was implemented into sys/compat/linprocfs [1] with r317884 [2] 

As Konstantin mentioned, it might break something in the other tier
architectures and it's not really needed as we have already alternatives to
gather CPU information. 

Back in 2013, I remember my idea was to expose them through sysctl as MacOSX
does under machdep.cpu but we don't have this oid tree in FreeBSD.

I closed it.

[1]
https://github.com/freebsd/freebsd/blob/master/sys/compat/linprocfs/linprocfs.c#L298

[2] https://svnweb.freebsd.org/base?view=revision&revision=317884

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-amd64 mailing list