Re: [patch] sched_[set|get]_affinity() syscall, 2.4.15-pre9

Robert Love
2001-11-27T03:40:52Z

On Thu, 2001-11-22 at 19:20, Ryan Cumming wrote:

> Here here, I was just thinking "Well, I like the CPU affinity idea, but I
> loathe syscall creep... I hope this Robert Love fellow says something about
> that" as I read your email's header.

I did a procfs-based implementation of a user interface for setting CPU
affinity. It implements various features like Ingo's with the change
that it is, obviously, a procfs entry and not a set of syscalls.

It is readable and writable via /proc/<pid>/affinity

I posted a patch to lkml moments ago, but it is also available at
ftp://ftp.kernel.org/pub/linux/kernel/people/rml/cpu-affinity
(please use a mirror).

Comments, suggestions, et cetera welcome -- if possible under the new thread.

Robert Love