Re: [PATCH] proc-based cpu affinity user interface

From: Robert Love (rml@tech9.net)
Date: Tue Nov 27 2001 - 00:08:28 EST


On Mon, 2001-11-26 at 23:37, Anton Blanchard wrote:
> > Attached is my procfs-based implementation of a user interface for
> > getting and setting a task's CPU affinity. Patch is against 2.4.16.
>
> Have you seen Andrew Mortons cpus_allowed patch?

No, although Andrew mentioned he had worked on it to me.

Looking it over...its of course very similar. One thing to note is his
patch doesn't incorporate the bits from Ingo's patch that I borrowed.
I.e., use of cpu_online_map, the forcing of the reschedule, etc. I
favor some of the differences in my variant.

I am glad to see he wrote a proc_write function, because I was worried I
was reimplementing something there, but I suppose not.

Either way, I'd like to see one of these in the kernel.

        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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:25 EST