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: Vinayak Menon <vinmenon@codeaurora.org> Signed-off-by: Will McVicker <willmcvicker@google.com> (cherry picked from commit ade7f1cd6f26780890cab9ae67f0033f1de432a7) Bug: 148872640 Change-Id: Iec77d69eca0a4f8f6e23f866c80c0143620fcaf2
This commit is contained in:
committed by
Will McVicker
parent
b4441f0a82
commit
135415b1ff
@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user