From: Andrew Morton <akpm@linux-foundation.org>
To: Denis Cheng <crquan@gmail.com>
Cc: viro@zeniv.linux.org.uk, torvalds@linux-foundation.org,
linux-kernel@vger.kernel.org, emdow@us.ibm.com
Subject: Re: [PATCH] PROC_FS: get and set the smp affinity of tasks by read-write /proc/<pid>/smp_affinity
Date: Wed, 9 Jan 2008 16:33:50 -0800 [thread overview]
Message-ID: <20080109163350.79a4c346.akpm@linux-foundation.org> (raw)
In-Reply-To: <1199430221-28417-1-git-send-email-crquan@gmail.com>
On Fri, 4 Jan 2008 15:03:41 +0800
Denis Cheng <crquan@gmail.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?
next prev parent reply other threads:[~2008-01-10 0:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-04 7:03 [PATCH] PROC_FS: get and set the smp affinity of tasks by read-write /proc/<pid>/smp_affinity Denis Cheng
2008-01-04 7:39 ` Paul Jackson
2008-01-04 7:54 ` Paul Jackson
2008-01-04 15:38 ` rae l
2008-01-04 19:13 ` Paul Jackson
2008-01-10 0:33 ` Andrew Morton [this message]
2008-01-10 2:25 ` rae l
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080109163350.79a4c346.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=crquan@gmail.com \
--cc=emdow@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox