diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-05-19 09:09:00 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-06-06 13:21:31 -0700 |
commit | 201aebf739482fbb730d10eb7cf8335629bb4de4 (patch) | |
tree | 34623c9a688bd13dda06deae409cf52f65e45485 /nscd | |
parent | dff8bcdab5968ac53e52ef06cabe8d921b429d22 (diff) | |
download | glibc-201aebf739482fbb730d10eb7cf8335629bb4de4.tar.gz glibc-201aebf739482fbb730d10eb7cf8335629bb4de4.tar.xz glibc-201aebf739482fbb730d10eb7cf8335629bb4de4.zip |
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.
Diffstat (limited to 'nscd')
0 files changed, 0 insertions, 0 deletions