Date: Sat, 30 Dec 2017 10:28:12 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: blubee blubeeme <gurenchan@gmail.com> Cc: FreeBSD current <freebsd-current@freebsd.org> Subject: Re: Programmatically cache line Message-ID: <20171230082812.GL1684@kib.kiev.ua> In-Reply-To: <CALM2mEmWYz5nyqvxMJwMWoFOXnDTvWFrEug7UUha6xe7Um6ODw@mail.gmail.com> References: <CALM2mEmWYz5nyqvxMJwMWoFOXnDTvWFrEug7UUha6xe7Um6ODw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171230082812.GL1684>