From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759968AbZGIKWf (ORCPT ); Thu, 9 Jul 2009 06:22:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756453AbZGIKW2 (ORCPT ); Thu, 9 Jul 2009 06:22:28 -0400 Received: from mail-gx0-f226.google.com ([209.85.217.226]:54834 "EHLO mail-gx0-f226.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756021AbZGIKW1 convert rfc822-to-8bit (ORCPT ); Thu, 9 Jul 2009 06:22:27 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Se34MG67cwlEw9WltQya2NB3giFYszp9Qqp9n5TpZfJLxMsWlj308srn5OTRERk/LK cO5xrDMtuGvMLMWg8/2pUsHze1ZXM1IHviOYrdlL1mdc1UVuOfV1c64IyFUWmEqEOntW o6ci3DGaSSXNiOdc+GvdlKGybsAK5inXy2+IU= MIME-Version: 1.0 In-Reply-To: <20090709171247.23C6.A69D9226@jp.fujitsu.com> References: <20090709165820.23B7.A69D9226@jp.fujitsu.com> <20090709171247.23C6.A69D9226@jp.fujitsu.com> Date: Thu, 9 Jul 2009 19:22:26 +0900 Message-ID: <28c262360907090322u55ba7a1blea49c6063bbee528@mail.gmail.com> Subject: Re: [PATCH 4/5] add isolate pages vmstat From: Minchan Kim To: KOSAKI Motohiro Cc: LKML , linux-mm , Andrew Morton , Wu Fengguang , Christoph Lameter , David Rientjes , Rik van Riel , Hugh Dickins Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 9, 2009 at 5:14 PM, KOSAKI Motohiro wrote: > ChangeLog >  Since v4 >   - Changed displaing order in show_free_areas() (as Wu's suggested) >  Since v3 >   - Fixed misaccount page bug when lumby reclaim occur >  Since v2 >   - Separated IsolateLRU field to Isolated(anon) and Isolated(file) >  Since v1 >   - Renamed IsolatePages to IsolatedLRU > > ================================== > Subject: [PATCH] add isolate pages vmstat > > If the system have plenty threads or processes, concurrent reclaim can > isolate very much pages. > Unfortunately, current /proc/meminfo and OOM log can't show it. > > This patch provide the way of showing this information. > > > reproduce way > ----------------------- > % ./hackbench 140 process 1000 >   => couse OOM > > active_anon:146 inactive_anon:0 isolated_anon:49245 >  active_file:41 inactive_file:0 isolated_file:113 >  unevictable:0 >  dirty:0 writeback:0 buffer:49 unstable:0 >  free:184 slab_reclaimable:276 slab_unreclaimable:5492 >  mapped:87 pagetables:28239 bounce:0 > > > Signed-off-by: KOSAKI Motohiro > Acked-by: Rik van Riel > Acked-by: Wu Fengguang Reviewed-by: Minchan Kim Kind regards, Minchan Kim From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with SMTP id E29116B004D for ; Thu, 9 Jul 2009 06:06:42 -0400 (EDT) Received: by gxk3 with SMTP id 3so74883gxk.14 for ; Thu, 09 Jul 2009 03:22:26 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20090709171247.23C6.A69D9226@jp.fujitsu.com> References: <20090709165820.23B7.A69D9226@jp.fujitsu.com> <20090709171247.23C6.A69D9226@jp.fujitsu.com> Date: Thu, 9 Jul 2009 19:22:26 +0900 Message-ID: <28c262360907090322u55ba7a1blea49c6063bbee528@mail.gmail.com> Subject: Re: [PATCH 4/5] add isolate pages vmstat From: Minchan Kim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org To: KOSAKI Motohiro Cc: LKML , linux-mm , Andrew Morton , Wu Fengguang , Christoph Lameter , David Rientjes , Rik van Riel , Hugh Dickins List-ID: On Thu, Jul 9, 2009 at 5:14 PM, KOSAKI Motohiro wrote: > ChangeLog > =C2=A0Since v4 > =C2=A0 - Changed displaing order in show_free_areas() (as Wu's suggested) > =C2=A0Since v3 > =C2=A0 - Fixed misaccount page bug when lumby reclaim occur > =C2=A0Since v2 > =C2=A0 - Separated IsolateLRU field to Isolated(anon) and Isolated(file) > =C2=A0Since v1 > =C2=A0 - Renamed IsolatePages to IsolatedLRU > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Subject: [PATCH] add isolate pages vmstat > > If the system have plenty threads or processes, concurrent reclaim can > isolate very much pages. > Unfortunately, current /proc/meminfo and OOM log can't show it. > > This patch provide the way of showing this information. > > > reproduce way > ----------------------- > % ./hackbench 140 process 1000 > =C2=A0 =3D> couse OOM > > active_anon:146 inactive_anon:0 isolated_anon:49245 > =C2=A0active_file:41 inactive_file:0 isolated_file:113 > =C2=A0unevictable:0 > =C2=A0dirty:0 writeback:0 buffer:49 unstable:0 > =C2=A0free:184 slab_reclaimable:276 slab_unreclaimable:5492 > =C2=A0mapped:87 pagetables:28239 bounce:0 > > > Signed-off-by: KOSAKI Motohiro > Acked-by: Rik van Riel > Acked-by: Wu Fengguang Reviewed-by: Minchan Kim Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org