Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752295AbdHHS4n (ORCPT ); Tue, 8 Aug 2017 14:56:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:57878 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751833AbdHHS4l (ORCPT ); Tue, 8 Aug 2017 14:56:41 -0400 Date: Tue, 8 Aug 2017 11:56:39 -0700 From: Greg KH To: Daniel Colascione Cc: linux-kernel@vger.kernel.org, timmurray@google.com, joelaf@google.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] Add /proc/pid/smaps_rollup Message-ID: <20170808185639.GA30091@kroah.com> References: <20170808132554.141143-1-dancol@google.com> <20170808184246.GA29058@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1191 Lines: 33 On Tue, Aug 08, 2017 at 11:51:40AM -0700, Daniel Colascione wrote: > On Tue, Aug 08 2017, Greg KH wrote: > > On Tue, Aug 08, 2017 at 11:22:55AM -0700, Daniel Colascione wrote: > >> Adding more people. > >> > >> On Tue, Aug 08 2017, Daniel Colascione wrote: > >> > /proc/pid/smaps_rollup is a new proc file that improves the > >> > performance of user programs that determine aggregate memory > >> > statistics (e.g., total PSS) of a process. > > > > What about linux-mm? Don't they care about this? > > Thanks. Added. > > > > > Also, do you have a Documentation/ABI update to describe exactly the > > output of this file so we know what it is, and know not to change it in > > the future? Or wherever proc files are documented, I'm not sure if ABI/ > > has all that many of them at the moment given the age of most of > > them... > > I figured I'd get feedback on the patch itself first. Does that make sense? You need to show exactly what this new file is looking like, that's the the best way to see if the code is doing what you say you require in the best way. Also, linux-api might care about that, so you might want to do a v2 and include that list as well. thanks, greg k-h