Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f1ecb44 authored by Vijayanand Jitta's avatar Vijayanand Jitta Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent c93d9386
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -183,6 +183,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
};

+1 −0
Original line number Diff line number Diff line
@@ -1091,6 +1091,7 @@ const char * const vmstat_text[] = {
	"nr_dirtied",
	"nr_written",
	"nr_indirectly_reclaimable",
	"nr_unreclaimable_pages",

	/* enum writeback_stat_item counters */
	"nr_dirty_threshold",