On 1 Jan 2018, at 05:09, Adrian Chadd <adrian.ch...@gmail.com> wrote: > > On 30 December 2017 at 00:28, Konstantin Belousov <kostik...@gmail.com> wrote: >> On Sat, Dec 30, 2017 at 07:50:19AM +0000, blubee blubeeme wrote: >>> Is there some way to programmatically get the CPU cache line sizes on >>> FreeBSD? >> >> There are, all of them are MD. >> >> 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?
It would be nice to expose this kind of information via VDSO or similar. There are a lot of similar bits of info that people want to use for ifunc and, SVE is going to have a bunch of similar requirements. David _______________________________________________ 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"