lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080109163350.79a4c346.akpm@linux-foundation.org>
Date:	Wed, 9 Jan 2008 16:33:50 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Denis Cheng <crquan@...il.com>
Cc:	viro@...iv.linux.org.uk, torvalds@...ux-foundation.org,
	linux-kernel@...r.kernel.org, emdow@...ibm.com
Subject: Re: [PATCH] PROC_FS: get and set the smp affinity of tasks by
 read-write /proc/<pid>/smp_affinity

On Fri,  4 Jan 2008 15:03:41 +0800
Denis Cheng <crquan@...il.com> 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ