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]
Date:	Wed, 20 Oct 2010 10:06:55 +0800
From:	"Figo.zhang" <zhangtianfei@...dcoretech.com>
To:	Wu Fengguang <fengguang.wu@...el.com>
Cc:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Minchan Kim <minchan.kim@...il.com>,
	lKOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"rientjes@...gle.com" <rientjes@...gle.com>,
	figo1802 <figo1802@...il.com>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: oom_killer crash linux system


> > page_add_file_rmap() just counts an event where mapcount goes 0->1. 
> > Even if thousands process shares  a page,  it's just counted into file_mapped as 1.
> > 
> > Then, there are 480MB of mapped file caches. Do I miss something ?
> > 
> > Anyway, sum-of-all-lru-of-highmem is 480MB smaller than present pages.
> > and isolated(anon/file) is 0kB.
> > (NORMAL has similar problem)
> 
> hugetlb files? But it's a desktop box. Figo, what's your meminfo?
> 
> The GEM objects may be files not in LRU, however they should be
> accounted into shmem.
> 
> Figo, would you run "page-types -r" for some clues? It can be compiled
> from the kernel tree:
> 
>         cd linux
>         make Documentation/vm
>         sudo Documentation/vm/page-types -r

hi fengguang,
here is the "page-types -r" result:

             flags	page-count       MB  symbolic-flags
long-symbolic-flags
0x0000000000000000	     16494       64
__________________________________	
0x0000000100000000	      8264       32
______________________r___________	reserved
0x0000000000010000	      3010       11
________________T_________________	compound_tail
0x0000000000008000	        76        0
_______________H__________________	compound_head
0x0000008000000000	         1        0
_____________________________c____	uncached
0x0000000400000001	         1        0
L_______________________d_________	locked,mappedtodisk
0x0000000000008014	         1        0
__R_D__________H__________________	referenced,dirty,compound_head
0x0000000000010014	        15        0
__R_D___________T_________________	referenced,dirty,compound_tail
0x0000000400000021	       235        0
L____l__________________d_________	locked,lru,mappedtodisk
0x0000000800000024	        64        0
__R__l___________________P________	referenced,lru,private
0x0000000400000028	       823        3
___U_l__________________d_________	uptodate,lru,mappedtodisk
0x0001000400000028	         2        0
___U_l__________________d_____I___	uptodate,lru,mappedtodisk,readahead
0x000000040000002c	         1        0
__RU_l__________________d_________	referenced,uptodate,lru,mappedtodisk
0x000000000000402c	      3837       14
__RU_l________b___________________	referenced,uptodate,lru,swapbacked
0x0000000800000030	         2        0
____Dl___________________P________	dirty,lru,private
0x0000000800000038	         2        0
___UDl___________________P________	uptodate,dirty,lru,private
0x0000000400000038	         2        0
___UDl__________________d_________	uptodate,dirty,lru,mappedtodisk
0x000000000000403c	        58        0
__RUDl________b___________________
referenced,uptodate,dirty,lru,swapbacked
0x0000000800000060	        53        0
_____lA__________________P________	lru,active,private
0x0000000800000064	         9        0
__R__lA__________________P________	referenced,lru,active,private
0x0000000c00000068	         8        0
___U_lA_________________dP________
uptodate,lru,active,mappedtodisk,private
0x0000000000000068	         2        0
___U_lA___________________________	uptodate,lru,active
0x000000040000006c	         1        0
__RU_lA_________________d_________
referenced,uptodate,lru,active,mappedtodisk
0x0000000800000070	         2        0
____DlA__________________P________	dirty,lru,active,private
0x0000000800000074	         9        0
__R_DlA__________________P________	referenced,dirty,lru,active,private
0x0000000000004078	     17910       69
___UDlA_______b___________________	uptodate,dirty,lru,active,swapbacked
0x000000000000407c	      5079       19
__RUDlA_______b___________________
referenced,uptodate,dirty,lru,active,swapbacked
0x000000080000007c	         1        0
__RUDlA__________________P________
referenced,uptodate,dirty,lru,active,private
0x0004000000008080	        70        0
_______S_______H________________A_	slab,compound_head,slub_frozen
0x0000000000008080	       870        3
_______S_______H__________________	slab,compound_head
0x0000000000000080	      2505        9
_______S__________________________	slab
0x0004000000000080	        51        0
_______S________________________A_	slab,slub_frozen
0x0000000800000328	         1        0
___U_l__WI_______________P________
uptodate,lru,writeback,reclaim,private
0x0000000000000400	      1724        6
__________B_______________________	buddy
0x0000000000000800	         1        0
___________M______________________	mmap
0x0000000000000804	         1        0
__R________M______________________	referenced,mmap
0x0000000400000828	       101        0
___U_l_____M____________d_________	uptodate,lru,mmap,mappedtodisk
0x000000040000082c	       150        0
__RU_l_____M____________d_________
referenced,uptodate,lru,mmap,mappedtodisk
0x0000000000004838	      4595       17
___UDl_____M__b___________________	uptodate,dirty,lru,mmap,swapbacked
0x000000000000483c	         8        0
__RUDl_____M__b___________________
referenced,uptodate,dirty,lru,mmap,swapbacked
0x0000000400000868	         3        0
___U_lA____M____________d_________	uptodate,lru,active,mmap,mappedtodisk
0x000000040000086c	       799        3
__RU_lA____M____________d_________
referenced,uptodate,lru,active,mmap,mappedtodisk
0x0000000000004878	       576        2
___UDlA____M__b___________________
uptodate,dirty,lru,active,mmap,swapbacked
0x000000000000487c	        73        0
__RUDlA____M__b___________________
referenced,uptodate,dirty,lru,active,mmap,swapbacked
0x0000000000005808	        15        0
___U_______Ma_b___________________	uptodate,mmap,anonymous,swapbacked
0x0000000000005828	     74342      290
___U_l_____Ma_b___________________
uptodate,lru,mmap,anonymous,swapbacked
0x000000000000582c	        85        0
__RU_l_____Ma_b___________________
referenced,uptodate,lru,mmap,anonymous,swapbacked
0x000000020004582c	        12        0
__RU_l_____Ma_b___u____m__________
referenced,uptodate,lru,mmap,anonymous,swapbacked,unevictable,mlocked
0x0000000000005838	         2        0
___UDl_____Ma_b___________________
uptodate,dirty,lru,mmap,anonymous,swapbacked
0x0000000000005868	    373077     1457
___U_lA____Ma_b___________________
uptodate,lru,active,mmap,anonymous,swapbacked
0x000000000000586c	        48        0
__RU_lA____Ma_b___________________
referenced,uptodate,lru,active,mmap,anonymous,swapbacked
             total	    515071     2011


--
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