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

Commit ade7f1cd authored by Vinayak Menon's avatar Vinayak Menon Committed by Gerrit - the friendly Code Review server
Browse files

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.

Change-Id: Iec77d69eca0a4f8f6e23f866c80c0143620fcaf2
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent db70fefd
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
};