Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755483AbYAQMWi (ORCPT ); Thu, 17 Jan 2008 07:22:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752117AbYAQMWa (ORCPT ); Thu, 17 Jan 2008 07:22:30 -0500 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:50400 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752061AbYAQMW3 (ORCPT ); Thu, 17 Jan 2008 07:22:29 -0500 Date: Thu, 17 Jan 2008 21:22:50 +0900 From: KOSAKI Motohiro To: CaT Subject: Re: 2.6.24-rc7: memory leak? Cc: kosaki.motohiro@jp.fujitsu.com, Peter Zijlstra , linux-kernel@vger.kernel.org In-Reply-To: <20080117121408.GS3940@zip.com.au> References: <1200571632.28661.13.camel@twins> <20080117121408.GS3940@zip.com.au> Message-Id: <20080117212142.11EC.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 816 Lines: 25 Hi > > > Should all this cache usage not be counted towards the > > > 'Cached' entry in meminfo rather then getting counted as part of used > > > ram. > > > > Cached is only the page-cache, not all the other caches we have.. > > This someones confuses people, but one gets used to it. slabinfo allows > > one to easily view others. > > So what would I have to do to find out the real amount of memory free? > Would that be the MemFree field in /proc/meminfo plus, from > /proc/slabinfo, *_cache and size-*? SReclaimable field can't fill requilrement? :) -kosaki -- 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/