On Tue, Mar 10, 2009 at 11:55:23AM +0200, Pierre Ossman wrote: > On Tue, 10 Mar 2009 16:19:17 +0800 > Wu Fengguang wrote: > > > > > Here is the initial patch and tool for finding the missing pages. > > > > In the following example, the pages with no flags set is kind of too > > many (1816MB), but hopefully your missing pages will have PG_reserved > > or other flags set ;-) > > > > # ./page-types > > L:locked E:error R:referenced U:uptodate D:dirty L:lru A:active S:slab W:writeback x:reclaim B:buddy r:reserved c:swapcache b:swapbacked > > > > Thanks. I'll have a look in a bit. Right now I'm very close to a > complete bisect. It is just ftrace commits left though, so I'm somewhat > sceptical that it is correct. ftrace isn't even turned on in the > kernels I've been testing. > > The remaining commits are ec1bb60bb..6712e299. And here's my progress, some more page flags are introduced: # ./page-types flags page-count MB symbolic-flags long-symbolic-flags 0x00000 3978 15 __________________ 0x00004 1 0 __R_______________ referenced 0x00014 5 0 __R_D_____________ referenced,dirty 0x00020 2 0 _____l____________ lru 0x00028 8835 34 ___U_l____________ uptodate,lru 0x0002c 9588 37 __RU_l____________ referenced,uptodate,lru 0x00068 1031 4 ___U_lA___________ uptodate,lru,active 0x0006c 3032 11 __RU_lA___________ referenced,uptodate,lru,active 0x00080 11001 42 _______S__________ slab 0x00228 140 0 ___U_l___x________ uptodate,lru,reclaim 0x0022c 79 0 __RU_l___x________ referenced,uptodate,lru,reclaim 0x00268 43 0 ___U_lA__x________ uptodate,lru,active,reclaim 0x0026c 110 0 __RU_lA__x________ referenced,uptodate,lru,active,reclaim 0x00400 1102 4 __________B_______ buddy 0x00800 18735 73 ___________r______ reserved 0x02008 13 0 ___U_________b____ uptodate,swapbacked 0x02068 9371 36 ___U_lA______b____ uptodate,lru,active,swapbacked 0x0206c 1339 5 __RU_lA______b____ referenced,uptodate,lru,active,swapbacked 0x02078 21 0 ___UDlA______b____ uptodate,dirty,lru,active,swapbacked 0x0207c 17 0 __RUDlA______b____ referenced,uptodate,dirty,lru,active,swapbacked 0x20000 445525 1740 _________________n noflags total 513968 2007 Thanks, Fengguang