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

Robert Love (rml@tech9.net)
26 Nov 2001 22:39:16 -0500


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

-
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/