Red Hat Bugzilla – Bug 625184
memory test (threaded_memtest.c) incorrectly determines processor count on RHEL6
Last modified: 2010-09-21 07:29:46 EDT
Description of problem:
threaded_memtest.c uses _SC_NPROCESSORS_CONF to determine the number of processors, where it should be using _SC_NPROCESSORS_ONLN. In RHEL6,
these two values differ.
Version-Release number of selected component (if applicable):
v7 1.2 R17
RHEL6 snapshot 7
Created attachment 439489 [details]
threaded_memtest.c patch changing to _SC_PROCESSORS_ONLN
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
A threaded_memtest.c uses the _SC_NPROCESSORS_ONLN variable to determine the number of processors.