Bug 203359 - Add cmdline for early setting of processor affinity
Summary: Add cmdline for early setting of processor affinity
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: initscripts
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On: 203358
Blocks: 203429
TreeView+ depends on / blocked
 
Reported: 2006-08-21 14:29 UTC by Rod Nayfield
Modified: 2015-12-22 02:26 UTC (History)
2 users (show)

Fixed In Version: 8.40-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-03 14:17:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to rc.sysinit (518 bytes, patch)
2006-08-21 14:29 UTC, Rod Nayfield
no flags Details | Diff

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


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