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>
This commit is contained in:
Vijayanand Jitta
2019-03-04 15:27:50 +05:30
parent f74ff6264d
commit 66db0cfc65
2 changed files with 2 additions and 0 deletions

View File

@@ -184,6 +184,7 @@ enum node_stat_item {
NR_DIRTIED, /* page dirtyings since bootup */
NR_WRITTEN, /* page writings since bootup */
NR_INDIRECTLY_RECLAIMABLE_BYTES, /* measured in bytes */
NR_UNRECLAIMABLE_PAGES,
NR_VM_NODE_STAT_ITEMS
};

View File

@@ -1163,6 +1163,7 @@ const char * const vmstat_text[] = {
"nr_dirtied",
"nr_written",
"", /* nr_indirectly_reclaimable */
"nr_unreclaimable_pages",
/* enum writeback_stat_item counters */
"nr_dirty_threshold",