Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752517AbZFXCto (ORCPT ); Tue, 23 Jun 2009 22:49:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751881AbZFXCtg (ORCPT ); Tue, 23 Jun 2009 22:49:36 -0400 Received: from mga14.intel.com ([143.182.124.37]:1263 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751611AbZFXCtf (ORCPT ); Tue, 23 Jun 2009 22:49:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.42,279,1243839600"; d="scan'208";a="157818714" Date: Wed, 24 Jun 2009 10:49:05 +0800 From: Wu Fengguang To: KOSAKI Motohiro Cc: David Howells , Andrew Morton , LKML , Christoph Lameter , "hannes@cmpxchg.org" , "peterz@infradead.org" , "riel@redhat.com" , "tytso@mit.edu" , "linux-mm@kvack.org" , "elladan@eskimo.com" , "npiggin@suse.de" , "minchan.kim@gmail.com" Subject: Re: [PATCH 0/3] make mapped executable pages the first class citizen Message-ID: <20090624024905.GA32094@localhost> References: <7561.1245768237@redhat.com> <20090624023251.GA16483@localhost> <20090624114055.225D.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090624114055.225D.A69D9226@jp.fujitsu.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1497 Lines: 36 On Wed, Jun 24, 2009 at 10:43:21AM +0800, KOSAKI Motohiro wrote: > > On Tue, Jun 23, 2009 at 10:43:57PM +0800, David Howells wrote: > > > Wu Fengguang wrote: > > > > > > > David, could you try running this when it occurred again? > > > > > > > > make Documentation/vm/page-types > > > > Documentation/vm/page-types --raw # run as root > > > > > > Okay. I managed to catch it between the first and second OOMs, and ran the > > > command you asked for. > > > > Thank you! > > > > > 0x0000000000000000 142261 555 ________________________________ > > > 0x0000000000000400 6797 26 __________B_____________________ buddy > > > > The buddy+free numbers are pretty high. 26MB PG_buddy pages means much > > more actual free pages. So I bet the 555MB no-flag pages are mostly free pages. > > You mean our VM can make OOM although it have 600MB free pages? Not exactly from one of the previous OOM messages: DMA: 1*4kB 1*8kB 0*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3916kB DMA32: 576*4kB 15*8kB 1*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 4296kB It looks like something goes wrong with the buddy system? Thanks, 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/