Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 240981

Summary: Add cmdline for early setting of processor affinity
Product: Red Hat Enterprise Linux 4 Reporter: Graham Biswell <gbiswell>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: gcooper, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-23 17:21:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for rc.sysinit none

Description Graham Biswell 2007-05-23 15:21:46 UTC
As bug 203359, but for RHEL4.

This will allow default_affinity= to be set to a bitmask (lowest bit = cpu 0,
and so on).

Examples:
default_affinity=0x1  (cpu 0 only)
default_affinity=0x3  (cpu 0 and 1 only)
default_affinity=0x00002 (cpu 1 only)

note that taskset ignores bits not corresponding to logical CPUs.  Thus
0x00000001 is valid even on a 2-way system.

Patch attached. 
Caveat with this patch is that /usr has to reside in the root filesystem.

Comment 1 Graham Biswell 2007-05-23 15:21:46 UTC
Created attachment 155259 [details]
Patch for rc.sysinit

Comment 2 Bill Nottingham 2007-05-23 17:05:32 UTC
taskset needs moved to /bin if we want to do this. NAK for now.

Comment 3 RHEL Program Management 2007-05-23 17:21:35 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.