Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762534AbXHPWJL (ORCPT ); Thu, 16 Aug 2007 18:09:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758375AbXHPWIy (ORCPT ); Thu, 16 Aug 2007 18:08:54 -0400 Received: from smtp.ustc.edu.cn ([202.38.64.16]:44018 "HELO ustc.edu.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1753174AbXHPWIx (ORCPT ); Thu, 16 Aug 2007 18:08:53 -0400 Message-ID: <387302129.14235@ustc.edu.cn> X-EYOUMAIL-SMTPAUTH: wfg@mail.ustc.edu.cn Message-Id: <20070816220516.782145952@mail.ustc.edu.cn> User-Agent: quilt/0.46-1 Date: Fri, 17 Aug 2007 06:05:16 +0800 From: Fengguang Wu To: Andrew Morton Cc: Matt Mackall Cc: John Berthels Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/4] process memory footprints in proc//[s|p]maps Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1117 Lines: 30 Andrew, Inspired by Matt Mackall's pagemap patches and ideas, these textual interfaces are worked up to achieve the same goals. The patchset runs OK on various read sizes. 1) Add PSS to the existing /proc//smaps: [PATCH 1/4] maps: PSS(proportional set size) accounting in smaps 2) Create /proc//pmaps for page granularity mmap footprints: [PATCH 2/4] maps: address based vma walking [PATCH 3/4] maps: introduce generic_maps_open() [PATCH 4/4] maps: /proc//pmaps interface - memory maps in granularity of pages fs/proc/base.c | 7 fs/proc/internal.h | 1 fs/proc/task_mmu.c | 354 ++++++++++++++++++++++++++++---------- fs/seq_file.c | 1 include/linux/proc_fs.h | 6 mm/mempolicy.c | 2 6 files changed, 281 insertions(+), 90 deletions(-) Thank you, Fengguang - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/