]> sourceware.org Git - glibc.git/commit
Check the HTT bit before counting logical threads
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 19 May 2016 16:09:00 +0000 (09:09 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 19 May 2016 16:09:00 +0000 (09:09 -0700)
commit7c08d791ee4fabf96d96b66dec803602e621057c
treefdc67fe76da8482d407594c70260a64c27e31cb7
parenteb2c88c7c83901737db5c4de7dc4470c5681b2cb
Check the HTT bit before counting logical threads

Skip counting logical threads for Intel processors if the HTT bit is 0
which indicates there is only a single logical processor.

* sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
logical threads if the HTT bit is 0.
* sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
(index_cpu_HTT): Likewise.
(reg_HTT): Likewise.
ChangeLog
sysdeps/x86/cacheinfo.c
sysdeps/x86/cpu-features.h
This page took 0.042339 seconds and 5 git commands to generate.