linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* why the count nr_file_pages is not equal to nr_inactive_file + nr_active_file ?
@ 2016-05-13  3:58 Xishi Qiu
  2016-05-13  7:00 ` Aaron Lu
  2016-05-16  9:31 ` Michal Hocko
  0 siblings, 2 replies; 8+ messages in thread
From: Xishi Qiu @ 2016-05-13  3:58 UTC (permalink / raw)
  To: Linux MM, LKML

I find the count nr_file_pages is not equal to nr_inactive_file + nr_active_file.
There are 8 cpus, 2 zones in my system.

I think may be the pagevec trigger the problem, but PAGEVEC_SIZE is only 14.
Does anyone know the reason?

Thanks,
Xishi Qiu

root@hi3650:/ # cat /proc/vmstat 
nr_free_pages 54192
nr_inactive_anon 39830
nr_active_anon 28794
nr_inactive_file 432444
nr_active_file 20659
nr_unevictable 2363
nr_mlock 0
nr_anon_pages 65249
nr_mapped 19742
nr_file_pages 462723
nr_dirty 20
nr_writeback 0
...


nr_inactive_file 432444
nr_active_file 20659
total is 453103

nr_file_pages 462723

--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-16 11:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13  3:58 why the count nr_file_pages is not equal to nr_inactive_file + nr_active_file ? Xishi Qiu
2016-05-13  7:00 ` Aaron Lu
2016-05-13  7:31   ` Xishi Qiu
2016-05-16  9:57     ` Michal Hocko
2016-05-16 10:01       ` Xishi Qiu
2016-05-16 11:16         ` Michal Hocko
2016-05-16  9:31 ` Michal Hocko
2016-05-16  9:58   ` Xishi Qiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).