Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965172AbVI0Vuo (ORCPT ); Tue, 27 Sep 2005 17:50:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965175AbVI0Vuo (ORCPT ); Tue, 27 Sep 2005 17:50:44 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:4319 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S965172AbVI0Vun (ORCPT ); Tue, 27 Sep 2005 17:50:43 -0400 Date: Tue, 27 Sep 2005 14:50:37 -0700 (PDT) From: Christoph Lameter To: Jay Lan cc: Hugh Dickins , Frank van Maarseveen , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.6.14-rc2] fix incorrect mm->hiwater_vm and mm->hiwater_rss In-Reply-To: <4339BDF6.3070706@engr.sgi.com> Message-ID: References: <20050921121915.GA14645@janus> <43319111.1050803@engr.sgi.com> <4331990A.80904@engr.sgi.com> <4331A0DA.5030801@engr.sgi.com> <20050921182627.GB17272@janus> <4339AED4.8030108@engr.sgi.com> <4339BDF6.3070706@engr.sgi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 709 Lines: 16 On Tue, 27 Sep 2005, Jay Lan wrote: > Just looked at the __vm_stat_account() code. It is enclosed inside > #ifdef CONFIG_PROC_FS. > > If that is necessary, i can not put hiwater_vm update code in there. The > system accounting code should not be dependent on a config flag that has > nothing to do with system accounting. I doubt you can do accounting without having /proc. Dont you need to read/write files in /proc? Can we make accounting dependent on /proc? - 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/