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

Commit 135415b1 authored by Vinayak Menon's avatar Vinayak Menon Committed by Will McVicker
Browse files

ANDROID: GKI: mm: add rss counter for unreclaimable pages



Add a per mm rss counter to hold the unreclaimable
pages. This can include the pages allocated by a
task and shared with hardware for DMA etc.

Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
(cherry picked from commit ade7f1cd)
Bug: 148872640
Change-Id: Iec77d69eca0a4f8f6e23f866c80c0143620fcaf2
parent b4441f0a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ enum {
	MM_ANONPAGES,	/* Resident anonymous pages */
	MM_SWAPENTS,	/* Anonymous swap entries */
	MM_SHMEMPAGES,	/* Resident shared memory pages */
	MM_UNRECLAIMABLE,	/* Unreclaimable pages, e.g. shared with HW */
	NR_MM_COUNTERS
};