From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 17 Sep 2007 10:00:57 +0100 From: Christoph Hellwig Subject: Re: Userspace tools (was Re: [PATCH][RESEND] maps: PSS(proportional set size) accounting in smaps) Message-ID: <20070917090057.GA2083@infradead.org> References: <389996856.30386@ustc.edu.cn> <20070916235120.713c6102.akpm@linux-foundation.org> <46EE2802.1000007@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46EE2802.1000007@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Balbir Singh Cc: Andrew Morton , Fengguang Wu , John Berthels , Denys Vlasenko , Matt Mackall , Linux Memory Management List List-ID: On Mon, Sep 17, 2007 at 12:38:50PM +0530, Balbir Singh wrote: > Andrew Morton wrote: > > On Mon, 17 Sep 2007 10:40:54 +0800 Fengguang Wu wrote: > > > >> Matt Mackall's pagemap/kpagemap and John Berthels's exmap can also do the job. > >> They are comprehensive tools. But for PSS, let's do it in the simple way. > > > > right. I'm rather reluctant to merge anything which could have been done from > > userspace via the maps2 interfaces. > > > > See, this is why I think the kernel needs a ./userspace-tools/ directory. If > > we had that, you might have implemented this as a little proglet which parses > > the maps2 files. But we don't have that, so you ended up doing it in-kernel. > > Andrew, I second the userspace-tools idea. I would also add an FAQ in > that directory, explaining what problem each tool solves. I think your > page cache control program would be a great example of something to put > in there. It's called the util-linux package. -- 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: email@kvack.org