mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mm: update the description for vm_total_pages
vm_total_pages is calculated by nr_free_pagecache_pages(), which counts the number of pages which are beyond the high watermark within all zones. So vm_total_pages is not equal to total number of pages which the VM controls. Signed-off-by: Wang Sheng-Hui <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9aed8614af
commit
d0480be44a
1 changed files with 5 additions and 1 deletions
|
|
@ -137,7 +137,11 @@ struct scan_control {
|
|||
* From 0 .. 100. Higher means more swappy.
|
||||
*/
|
||||
int vm_swappiness = 60;
|
||||
unsigned long vm_total_pages; /* The total number of pages which the VM controls */
|
||||
/*
|
||||
* The total number of pages which are beyond the high watermark within all
|
||||
* zones.
|
||||
*/
|
||||
unsigned long vm_total_pages;
|
||||
|
||||
static LIST_HEAD(shrinker_list);
|
||||
static DECLARE_RWSEM(shrinker_rwsem);
|
||||
|
|
|
|||
Loading…
Reference in a new issue