Messages in this thread | | | Subject | Re: Re: Processor sets (pset) for linux kernel 2.5/2.6? | From | Robert Love <> | Date | 13 Apr 2003 10:28:57 -0400 |
| |
On Sun, 2003-04-13 at 04:30, Shaheed R. Haque wrote:
> Interesting idea. AFAICS, this involves either changing the code of /sbin/init > to set its affinity to a default cpu mask (provided by a kernel boot flag, I > presume), or using taskset-like functionality and then hoping that all current > shells etc. die before the programs I care about start.
Well, you can get away with it easier by having a program (like taskset in schedutils) run in rc.sysinit. Have it bind init to the appropriate processor.
> Would it not be better to simply have the kernel use the boot flag directly as > the default CPU mask setting?
This is not a bad idea either, as it involves minimal code.
Robert Love
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |