2018-01-01 11:36 GMT+01:00 Konstantin Belousov <kostik...@gmail.com>:
>> >> On x86, the CPUID instruction leaf 0x1 returns the information in
>> >> %ebx register.
>> >
>> > Hm, weird. Why don't we extend sysctl to include this info?
>
> For the same reason we do not provide a sysctl to add two integers.

I strongly agree with Kostik on this one. Why add stuff to the kernel,
if userspace is already capable of extracting this? Adding that stuff
to sysctl has the downside that it will effectively introduce yet
another FreeBSDism, whereas something generic already exists.

-- 
Ed Schouten <e...@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to