Limit threads sharing L2 cache to 2 for SLM/KNL
commita3d9ab5070b56b49aa91be2887fa5b118012b2cd
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Mar 2015 20:17:51 +0000 (31 13:17 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Mar 2015 20:18:10 +0000 (31 13:18 -0700)
tree4352143efb08c51ec9cb480489e847de724afb06
parent83569fb894050db7430047da2219ca50c68f882a
Limit threads sharing L2 cache to 2 for SLM/KNL

Silvermont and Knights Landing have a modular system design with two cores
sharing an L2 cache.  If more than 2 cores are detected to shared L2 cache,
it should be adjusted for Silvermont and Knights Landing.

[BZ #18185]
* sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
sharing L2 cache to 2 for Silvermont/Knights Landing.
ChangeLog
NEWS
sysdeps/x86_64/cacheinfo.c