mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
mm: introduce NR_UNRECLAIMABLE_PAGES
Introduce NR_UNRECLAIMABLE_PAGES memory counter which accounts the pages that cannot be reclaimed under memory pressure. Change-Id: I9afe50537b0d3c2e7ffc07916b23cce4329e3679 Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org> [guptap@codeaurora.org: split resident_page_types change] Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
This commit is contained in:
parent
c99ba85df8
commit
bfe3637f89
2 changed files with 6 additions and 0 deletions
|
|
@ -259,6 +259,9 @@ enum node_stat_item {
|
|||
NR_DIRTIED, /* page dirtyings since bootup */
|
||||
NR_WRITTEN, /* page writings since bootup */
|
||||
NR_KERNEL_MISC_RECLAIMABLE, /* reclaimable non-slab kernel pages */
|
||||
#ifdef CONFIG_MM_STAT_UNRECLAIMABLE_PAGES
|
||||
NR_UNRECLAIMABLE_PAGES,
|
||||
#endif
|
||||
NR_VM_NODE_STAT_ITEMS
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1170,6 +1170,9 @@ const char * const vmstat_text[] = {
|
|||
"nr_dirtied",
|
||||
"nr_written",
|
||||
"nr_kernel_misc_reclaimable",
|
||||
#ifdef CONFIG_MM_STAT_UNRECLAIMABLE_PAGES
|
||||
"nr_unreclaimable_pages",
|
||||
#endif
|
||||
|
||||
/* enum writeback_stat_item counters */
|
||||
"nr_dirty_threshold",
|
||||
|
|
|
|||
Loading…
Reference in a new issue