Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267607AbUJOKvG (ORCPT ); Fri, 15 Oct 2004 06:51:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267625AbUJOKvG (ORCPT ); Fri, 15 Oct 2004 06:51:06 -0400 Received: from holomorphy.com ([207.189.100.168]:49800 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S267607AbUJOKvD (ORCPT ); Fri, 15 Oct 2004 06:51:03 -0400 Date: Fri, 15 Oct 2004 03:51:01 -0700 From: William Lee Irwin III To: Andrea Arcangeli Cc: Hugh Dickins , linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: per-process shared information Message-ID: <20041015105101.GF5607@holomorphy.com> References: <20041013231042.GQ17849@dualathlon.random> <20041014223730.GI17849@dualathlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041014223730.GI17849@dualathlon.random> Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 22 On Thu, Oct 14, 2004 at 10:49:28PM +0100, Hugh Dickins wrote: >> shouldn't change that now, but add your statm_phys_shared; whatever, On Fri, Oct 15, 2004 at 12:37:30AM +0200, Andrea Arcangeli wrote: > the only reason to add statm_phys_shared was to keep ps xav fast, if you > don't slowdown pa xav you can add another field at the end of statm. > Ideally shared should have been set to 0 and it should have been moved > to statm_phys_shared. It's slow but not so horrid thanks to the mapcount > which makes it really strightforward (it's just a vma + pgtable walk, > the only tricky bit is the signal catch and need_resched). I'd be rather loath to endorse reintroducing the problematic pagetable and vma walks I spent so much effort eliminating. Will Hugh's patch suffice for you? If not, what else is needed? -- wli - 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/