From: Christoph Lameter <clameter@engr.sgi.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Andi Kleen <ak@suse.de>, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: NUMA mempolicy /proc code in mainline shouldn't have been merged
Date: Sat, 10 Sep 2005 09:29:39 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.62.0509100921260.17110@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <20050910023337.7b79db9a.akpm@osdl.org>
On Sat, 10 Sep 2005, Andrew Morton wrote:
> Andi Kleen <ak@suse.de> wrote:
> >
> > Just noticed the ugly SGI /proc/*/numa_maps code got merged.
Well its ugly because you said that the fixes to make it less ugly were
"useless". I can still submit those fixes that make numa_maps a part of
smaps and that cleanup the way policies are displayed.
> Been in -mm for over two months.
>
> > I argued several times against it
Nope you argued against changing memory policies via proc. The numa_maps
patch is displaying on which node a vma uses memory.
> > and I very deliberately didn't include
> > a similar facility when I wrote the NUMA policy code because it's a bad
> > idea.
Thats the idea of changing memory policies right? NBot displaying memory
usages across nodes?
> > - it presents lots of kernel internal information and mempolicy
> > internals (like how many people have a page mapped) etc.
> > to userland that shouldn't be exposed to this.
Very important information. Somewhat similar information is already
available via smaps.
> > - the format is very complicated and the chance of bug free
> > userland parsers of this is near zero.
What is complicated about the format? And the basic use is to see where
memory for it was placed. I have code here that parses the format.
> > - there is no demonstrated application that needs it
> > (there was a theoretical usecase where it might be needed,
> > but there were better solutions proposed for this)
Could you be more specific? The application is to figure out how memory is
placed. Just to cat /proc/<pid>/numa_maps. Seems to be a favorite with
some people.
> > Can the patch please be removed?
>
> OK by me. I queued a revert patch.
No idea why that would be necessary.
next prev parent reply other threads:[~2005-09-10 16:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-10 9:20 Andi Kleen
2005-09-10 9:33 ` Andrew Morton
2005-09-10 16:29 ` Christoph Lameter [this message]
2005-09-11 0:59 ` Andrew Morton
2005-09-11 2:46 ` Christoph Lameter
2005-09-11 6:51 ` Andrew Morton
2005-09-11 7:11 ` Andi Kleen
2005-09-19 17:11 ` Christoph Lameter
2005-09-19 19:40 ` Andi Kleen
2005-09-19 21:32 ` Christoph Lameter
2005-09-19 21:56 ` Andi Kleen
2005-09-19 22:48 ` Andrew Morton
2005-09-19 23:13 ` Christoph Lameter
2005-09-25 1:45 ` Paul Jackson
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.0509100921260.17110@schroedinger.engr.sgi.com \
--to=clameter@engr.sgi.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®