Re: [PATCH] syscall interface for cpu affinity

Jeff Garzik (jgarzik@mandrakesoft.com)
Sun, 10 Mar 2002 18:45:25 -0500


Robert Love wrote:
>
> On Sun, 2002-03-10 at 15:29, Andreas Jaeger wrote:
>
> > Please add the procinterface also! I've found it today (for 2.4.18)
> > and it's much easier to use with existing programs.
>
> I agree and I really like the proc-interface. There is something uber
> cool about:
>
> cat 1 > /proc/pid/affinity
>
> I have a patch for 2.5.6 for proc-based affinity interface here:
>
> http://www.kernel.org/pub/linux/kernel/people/rml/cpu-affinity/v2.5/cpu-affinity-proc-rml-2.5.6-1.patch

Anon! But there is something uber-ugly about constantly jamming more
and more stuff into procfs without thinking or planning long term... I
vote for the non-procfs approach :)

-- 
Jeff Garzik      | Usenet Rule #2 (John Gilmore): "The Net interprets
Building 1024    | censorship as damage and routes around it."
MandrakeSoft     |
-
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/