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

From: Robert Love (
Date: Mon Dec 10 2001 - 03:40:32 EST

On Mon, 2001-12-10 at 03:33, Albert D. Cahalan wrote:

> It looks like you are limiting the number of CPUs to sizeof(long).
> Must you? Using "%lx" would be better in any case. Considering that
> you may outgrow the format, maybe this info doesn't belong in the
> /proc/*/stat files at all. For "ps" usage, a simple flag to indicate
> if the process is locked to a CPU would be OK. There are 3 cases
> of interest:

We already limit it... we use cpus_allowed and cpus_runnable which are
unsigned long.

        Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:16 EST