public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* NUMA mempolicy /proc code in mainline shouldn't have been merged
@ 2005-09-10  9:20 Andi Kleen
  2005-09-10  9:33 ` Andrew Morton
  0 siblings, 1 reply; 14+ messages in thread
From: Andi Kleen @ 2005-09-10  9:20 UTC (permalink / raw)
  To: Andrew Morton, torvalds; +Cc: linux-kernel

Hi,

Just noticed the ugly SGI /proc/*/numa_maps code got merged.  I argued
several times against it and I very deliberately didn't include
a similar facility when I wrote the NUMA policy code because it's a bad
idea.


- it's a lot of ugly code.
- it's basically only a debugging hack right now
- 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.
- the format is very complicated and the chance of bug free
userland parsers of this is near zero.
- 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) 


Can the patch please be removed? 

Thanks,

-Andi

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-09-25  1:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-10  9:20 NUMA mempolicy /proc code in mainline shouldn't have been merged Andi Kleen
2005-09-10  9:33 ` Andrew Morton
2005-09-10 16:29   ` Christoph Lameter
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox