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

Commit c9b2421c authored by Vijayanand Jitta's avatar Vijayanand Jitta Committed by Suren Baghdasaryan
Browse files

ANDROID: GKI: mm: introduce NR_UNRECLAIMABLE_PAGES



Introduce NR_UNRECLAIMABLE_PAGES memory counter which accounts
the pages that cannot be reclaimed under memory pressure.

Signed-off-by: default avatarVijayanand Jitta <vjitta@codeaurora.org>
(cherry picked from commit 66db0cfc)
[surenb: cherry-picked from:
66db0cfc "mm: introduce NR_UNRECLAIMABLE_PAGES" to resolve
ABI diff for per_cpu_nodestat struct]

Bug: 150808082
Test: build
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: I8c99dcec04df3c9ead4ea0eebd11c193af9fbc75
parent 037cc8ca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -187,6 +187,7 @@ 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 */
	NR_UNRECLAIMABLE_PAGES,
	NR_VM_NODE_STAT_ITEMS
};

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

	/* enum writeback_stat_item counters */
	"nr_dirty_threshold",