On Fri,  4 Jan 2008 15:03:41 +0800
Denis Cheng <[EMAIL PROTECTED]> wrote:

> this adds a read-write /proc/<pid>/smp_affinity entry,
> just like what /proc/irq/<irq>/smp_affinity does,
> so now we can get and set the affinity of tasks by procfs,
> this is especially useful used in shell scripts.
> 
> this also adds a read-write /proc/<pid>/tasks/<tid>/smp_affinity
> for the same purpose.

Why not use /usr/bin/taskset?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to