summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2019-08-09 19:01:29 +0200
committerSam Doran <sdoran@redhat.com>2019-08-09 19:01:29 +0200
commit93d9d640380252084855885ad27873b4377898ec (patch)
tree27929a1ed14a48eb70d10efece3274aa988a7a35 /.gitignore
parentCode cleanup in ansible-test. (#60318) (diff)
downloadansible-93d9d640380252084855885ad27873b4377898ec.tar.xz
ansible-93d9d640380252084855885ad27873b4377898ec.zip
facts: fix double-counting of CPUs on POWER systems (#58360)
On POWER systems, /proc/cpuinfo provides a 'processor' entry as a counter, and a 'cpu' entry with a description (similar to 'model name' on x86). Support for POWER in get_cpu_facts was added via the 'cpu' entry in commit 8746e692c121d7081e5c545de8e98908a95b510b. Subsequent support for ARM64 in commit ce4ada93f9daae4e1806c612b5c2f96727dc3de5 used the 'processor' entry, resulting in double-counting of cores on POWER systems. When unit tests were later written for this code in commit 55306906cf7577cc5a666bf6f3d0486dcf937c03, the erroneous values were just accepted in the test instead of being diagnosed. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions