Bug 625184 - memory test (threaded_memtest.c) incorrectly determines processor count on RHEL6
memory test (threaded_memtest.c) incorrectly determines processor count on R...
Status: CLOSED ERRATA
Product: Red Hat Hardware Certification Program
Classification: Red Hat
Component: Test Suite (tests) (Show other bugs)
1.2
s390x Linux
low Severity medium
: ---
: ---
Assigned To: Greg Nichols
CAI Qian
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-18 15:42 EDT by Greg Nichols
Modified: 2010-09-21 07:29 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A threaded_memtest.c uses the _SC_NPROCESSORS_ONLN variable to determine the number of processors.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-09-20 08:15:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
threaded_memtest.c patch changing to _SC_PROCESSORS_ONLN (487 bytes, patch)
2010-08-18 15:45 EDT, Greg Nichols
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0702 normal SHIPPED_LIVE v7 bug fix and enhancement update 2010-10-21 03:59:09 EDT

  None (edit)
Description Greg Nichols 2010-08-18 15:42:07 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
Comment 1 Greg Nichols 2010-08-18 15:45:11 EDT
Created attachment 439489 [details]
threaded_memtest.c patch changing to _SC_PROCESSORS_ONLN
Comment 7 errata-xmlrpc 2010-09-20 08:15:03 EDT
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.

http://rhn.redhat.com/errata/RHBA-2010-0702.html
Comment 8 Jaromir Hradilek 2010-09-21 07:29:46 EDT
    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.
    
    New Contents:
A threaded_memtest.c uses the _SC_NPROCESSORS_ONLN variable to determine the number of processors.

Note You need to log in before you can comment on or make changes to this bug.