lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090624023251.GA16483@localhost>
Date:	Wed, 24 Jun 2009 10:32:51 +0800
From:	Wu Fengguang <fengguang.wu@...el.com>
To:	David Howells <dhowells@...hat.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Christoph Lameter <cl@...ux-foundation.org>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	"hannes@...xchg.org" <hannes@...xchg.org>,
	"peterz@...radead.org" <peterz@...radead.org>,
	"riel@...hat.com" <riel@...hat.com>,
	"tytso@....edu" <tytso@....edu>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"elladan@...imo.com" <elladan@...imo.com>,
	"npiggin@...e.de" <npiggin@...e.de>,
	"minchan.kim@...il.com" <minchan.kim@...il.com>
Subject: Re: [PATCH 0/3] make mapped executable pages the first class
	citizen

On Tue, Jun 23, 2009 at 10:43:57PM +0800, David Howells wrote:
> Wu Fengguang <fengguang.wu@...el.com> 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.

Thanks,
Fengguang

> David
> ---
>              flags	page-count       MB  symbolic-flags			long-symbolic-flags
> 0x0000000000000000	    142261      555  ________________________________	
> 0x0000000100000000	      5588       21  ____________________r___________	reserved
> 0x0000004000000000	        17        0  __________________________h_____	arch
> 0x0000000800000004	         4        0  __R____________________P________	referenced,private
> 0x0000000800000024	      2073        8  __R__l_________________P________	referenced,lru,private
> 0x0000000400000028	     69911      273  ___U_l________________d_________	uptodate,lru,mappedtodisk
> 0x0001000400000028	        16        0  ___U_l________________d_____I___	uptodate,lru,mappedtodisk,readahead
> 0x0000000800000028	        25        0  ___U_l_________________P________	uptodate,lru,private
> 0x0000000000000028	        11        0  ___U_l__________________________	uptodate,lru
> 0x000000040000002c	      3045       11  __RU_l________________d_________	referenced,uptodate,lru,mappedtodisk
> 0x000000080000002c	         4        0  __RU_l_________________P________	referenced,uptodate,lru,private
> 0x0000000800000034	         9        0  __R_Dl_________________P________	referenced,dirty,lru,private
> 0x0000000800000038	         1        0  ___UDl_________________P________	uptodate,dirty,lru,private
> 0x0000000000004038	        13        0  ___UDl________b_________________	uptodate,dirty,lru,swapbacked
> 0x000000080000003c	         1        0  __RUDl_________________P________	referenced,uptodate,dirty,lru,private
> 0x0000000800000060	       183        0  _____lA________________P________	lru,active,private
> 0x0000000800000064	       982        3  __R__lA________________P________	referenced,lru,active,private
> 0x0000000400000068	       473        1  ___U_lA_______________d_________	uptodate,lru,active,mappedtodisk
> 0x0000000c00000068	         1        0  ___U_lA_______________dP________	uptodate,lru,active,mappedtodisk,private
> 0x000000040000006c	       392        1  __RU_lA_______________d_________	referenced,uptodate,lru,active,mappedtodisk
> 0x0000000c0000006c	         1        0  __RU_lA_______________dP________	referenced,uptodate,lru,active,mappedtodisk,private
> 0x0000000800000070	         1        0  ____DlA________________P________	dirty,lru,active,private
> 0x0000000800000074	        20        0  __R_DlA________________P________	referenced,dirty,lru,active,private
> 0x0000000c00000078	         2        0  ___UDlA_______________dP________	uptodate,dirty,lru,active,mappedtodisk,private
> 0x0000000000004078	         1        0  ___UDlA_______b_________________	uptodate,dirty,lru,active,swapbacked
> 0x000000080000007c	         1        0  __RUDlA________________P________	referenced,uptodate,dirty,lru,active,private
> 0x0000000000000080	     18684       72  _______S________________________	slab
> 0x0000000000000400	      6797       26  __________B_____________________	buddy
> 0x0000000000000804	         1        0  __R________M____________________	referenced,mmap
> 0x0000000400000828	       195        0  ___U_l_____M__________d_________	uptodate,lru,mmap,mappedtodisk
> 0x000000040000082c	        35        0  __RU_l_____M__________d_________	referenced,uptodate,lru,mmap,mappedtodisk
> 0x0000000000004838	         2        0  ___UDl_____M__b_________________	uptodate,dirty,lru,mmap,swapbacked
> 0x0000000400000868	        11        0  ___U_lA____M__________d_________	uptodate,lru,active,mmap,mappedtodisk
> 0x000000040000086c	       274        1  __RU_lA____M__________d_________	referenced,uptodate,lru,active,mmap,mappedtodisk
> 0x0000000800000878	         1        0  ___UDlA____M___________P________	uptodate,dirty,lru,active,mmap,private
> 0x000000080000087c	         2        0  __RUDlA____M___________P________	referenced,uptodate,dirty,lru,active,mmap,private
> 0x0000000000005008	         8        0  ___U________a_b_________________	uptodate,anonymous,swapbacked
> 0x0000000000005808	         6        0  ___U_______Ma_b_________________	uptodate,mmap,anonymous,swapbacked
> 0x0000000000005828	      4325       16  ___U_l_____Ma_b_________________	uptodate,lru,mmap,anonymous,swapbacked
> 0x0000000000005868	       366        1  ___U_lA____Ma_b_________________	uptodate,lru,active,mmap,anonymous,swapbacked
> 0x000000000000586c	         1        0  __RU_lA____Ma_b_________________	referenced,uptodate,lru,active,mmap,anonymous,swapbacked
>              total	    255744      999
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ