mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Lameter <christoph@lameter.com>
To: Andi Kleen <ak@suse.de>
Cc: Paul Jackson <pj@sgi.com>, linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [PATCH] String conversions for memory policy
Date: Thu, 4 Aug 2005 09:31:53 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.62.0508040922110.6650@graphe.net> (raw)
In-Reply-To: <20050804142942.GY8266@wotan.suse.de>

On Thu, 4 Aug 2005, Andi Kleen wrote:

> > You designed a NUMA API to control a process memory access patterns 
> > without the ability to view or modify the policies in use?
> 
> Processes internally can get the information if they want.
> Externally I didn't expose it intentionally to avoid locking problems

The fundamental purpose of a memory policy layer is to control memory 
allocation  on a system. If there no way to obtain that policy 
information and no way to control the policies then what is the purpose of 
the memory policies? Would it not be better to implement most what is 
currently in the kernel in user space since its restricted to a process 
anyways?

> > The locking issues for the policy information in the task_struct could be 
> > solved by having a thread execute a function that either sets or gets the 
> > memory policy. The vma policies already have a locking mechanism.
> 
> But why? It all only adds complexity. Keep it simple please.

Because its not possible to view and control memory policies otherwise.

> > This piece here only does conversion to a string representation so it 
> > should not be affected by locking issues. Processes need to do proper 
> > locking when using the conversion functions.
> 
> It's useless.

So your point of view is that there will be no control and monitoring of 
the memory usage and policies?

  reply	other threads:[~2005-08-04 16:35 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29 18:38 Christoph Lameter
2005-07-29 22:20 ` Paul Jackson
2005-07-30  0:53   ` Christoph Lameter
2005-07-30  5:54     ` Paul Jackson
2005-07-30 15:48       ` Christoph Lameter
2005-07-31  1:45         ` Paul Jackson
2005-07-30  6:00     ` Paul Jackson
2005-07-30 17:56       ` Christoph Lameter
2005-07-31  1:14         ` Paul Jackson
2005-07-31  1:21           ` Christoph Lameter
2005-07-31  1:50             ` Paul Jackson
2005-07-31  2:01             ` Paul Jackson
2005-07-31  2:05               ` Christoph Lameter
2005-07-31  2:12                 ` Paul Jackson
2005-07-31  2:15                   ` Christoph Lameter
2005-08-01 18:48                   ` Christoph Lameter
2005-08-01 18:54                     ` Christoph Lameter
2005-08-01 23:03                     ` Paul Jackson
2005-08-01 23:24                       ` Christoph Lameter
2005-08-01 23:59                         ` Paul Jackson
2005-08-02  0:03                           ` Christoph Lameter
2005-08-02  0:15                           ` Christoph Lameter
2005-08-02  5:33                             ` Paul Jackson
2005-08-02  6:11                               ` Christoph Lameter
2005-08-03  5:44                                 ` Paul Jackson
2005-08-03 16:19                                   ` Christoph Lameter
2005-08-02 17:49                               ` Christoph Lameter
2005-08-03  5:42                                 ` Paul Jackson
2005-08-03  8:48                     ` Andi Kleen
2005-08-04 14:11                       ` Christoph Lameter
2005-08-04 14:29                         ` Andi Kleen
2005-08-04 16:31                           ` Christoph Lameter [this message]
2005-08-04 17:08                             ` Andi Kleen
2005-08-04 17:34                               ` NUMA policy interface Christoph Lameter
2005-08-04 21:14                                 ` Andi Kleen
2005-08-04 21:21                                   ` Christoph Lameter
2005-08-04 21:41                                     ` Andi Kleen
2005-08-04 22:19                                       ` Christoph Lameter
2005-08-04 22:44                                         ` Mike Kravetz
2005-08-04 23:40                                         ` Andi Kleen
2005-08-04 23:49                                           ` Christoph Lameter
2005-08-05  9:16                                             ` Andi Kleen
2005-08-05 14:52                                               ` Christoph Lameter
2005-08-05 14:58                                               ` 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=Pine.LNX.4.62.0508040922110.6650@graphe.net \
    --to=christoph@lameter.com \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pj@sgi.com \
    /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

all inboxes | Powered by JetHome®