Red Hat Bugzilla – Bug 240981
Add cmdline for early setting of processor affinity
Last modified: 2014-08-14 21:43:03 EDT
As bug 203359, but for RHEL4.
This will allow default_affinity= to be set to a bitmask (lowest bit = cpu 0,
and so on).
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.
Caveat with this patch is that /usr has to reside in the root filesystem.
Created attachment 155259 [details]
Patch for rc.sysinit
taskset needs moved to /bin if we want to do this. NAK for now.
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.