Bug 203359

Summary: Add cmdline for early setting of processor affinity
Product: Red Hat Enterprise Linux 5 Reporter: Rod Nayfield <nayfield>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: agk, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.40-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-03 14:17:49 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:
Bug Depends On: 203358    
Bug Blocks: 203429    
Attachments:
Description Flags
Patch to rc.sysinit none

Description Rod Nayfield 2006-08-21 14:29:49 UTC
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.

As discussed previously.  Patch attached.

Comment 1 Rod Nayfield 2006-08-21 14:29:49 UTC
Created attachment 134564 [details]
Patch to rc.sysinit