From: Andi Kleen <ak@suse.de>
To: Christoph Lameter <clameter@engr.sgi.com>
Cc: akpm@osdl.org, linux-mm@kvack.org, lhms-devel@lists.sourceforge.net
Subject: Re: [PATCH] Allow outside read access to a tasks memory policy
Date: Wed, 19 Oct 2005 15:34:29 +0200 [thread overview]
Message-ID: <200510191534.29538.ak@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.62.0510181126280.8305@schroedinger.engr.sgi.com>
On Tuesday 18 October 2005 20:30, Christoph Lameter wrote:
> Currently access to the memory policy of a task from outside of a task is
> not possible since there are no locking conventions. A task must always be
> able to access its memory policy without the necessity to take a lock in
> order to allow alloc_pages to operate efficiently.
While you could probably make it work for vma policy, it's impossible or hard
to do the same thing for process policy, which is strictly thread local.
>> Access to the tasks memory policy from the outside is likely going to be
> needed for page migration. In case of an ECC failure or a memory unplug
> operation, new memory needs to be allocated for a task following its memory
> policy. However, that operation is done from outside of the task itself.
Should we perhaps wait with this until the understanding of this is clearer
(e.g. more than "likely")?
-Andi
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2005-10-19 13:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-18 18:30 Christoph Lameter
2005-10-19 13:34 ` Andi Kleen [this message]
2005-10-19 15:31 ` Christoph Lameter
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=200510191534.29538.ak@suse.de \
--to=ak@suse.de \
--cc=akpm@osdl.org \
--cc=clameter@engr.sgi.com \
--cc=lhms-devel@lists.sourceforge.net \
--cc=linux-mm@kvack.org \
/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