Date: Sun, 31 Dec 2017 21:09:12 -0800 From: Adrian Chadd <adrian.chadd@gmail.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: blubee blubeeme <gurenchan@gmail.com>, FreeBSD current <freebsd-current@freebsd.org> Subject: Re: Programmatically cache line Message-ID: <CAJ-VmomxGJsn8eOtWoqevdW-spUPgcSGKEc7eR4xuXLP-E1XRA@mail.gmail.com> In-Reply-To: <20171230082812.GL1684@kib.kiev.ua> References: <CALM2mEmWYz5nyqvxMJwMWoFOXnDTvWFrEug7UUha6xe7Um6ODw@mail.gmail.com> <20171230082812.GL1684@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30 December 2017 at 00:28, Konstantin Belousov <kostikbel@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? -adrian > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomxGJsn8eOtWoqevdW-spUPgcSGKEc7eR4xuXLP-E1XRA>