Re: 2.6 must-fix list, v2

Shaheed R. Haque
2003-05-15T09:07:38Z

Quoting Robert Love <rml@tech9.net>:

> More important to me is getting it into Red Hat and SuSE. I have heard
> encouring words from Matt Wilson at Red Hat about schedutils possibly
> going into Rawhide soon. It would not hurt to let Red Hat/SuSE/whoever
> know that schedutils is something their customers want.
>
> Both Red Hat and SuSE's kernels have the CPU affinity system calls
> merged, so you do not need to wait until 2.6 is out to use them.

These are the distros I am interested in too. I knew it was in RH AS/ES, but
are you saying it is in RH9.0? That would be good news.

On the technical point, I tried out taskset in rc.sysinit, and as you said, it
works just fine. On reflection, I feel that editing rc.sysinit is not the right
answer given the confidence/competence level of our customers' typical
sysadmins: but I can see that a carefully crafted rc5.d/S00aaaaa script could
set the affinity of the executing shell, and its parent(s) upto init to fix all
subsequent rcN.d children in the desired manner.

I do suspect that other commercial users will also baulk at editing rc.sysint,
and so have to brew the same rcN.d solution. Now, the rcN.d script hackery
would be greatly simplified if taskset had a mode of "set the affinity of the
identified process, and all its parent processes upto init". Would you accept a
patch to taskset along those lines?

I think that would be a very acceptable, easy to deploy, solution.

Thoughts? Shaheed