mm: update the description for vm_total_pages
authorWang Sheng-Hui <[email protected]>
Wed, 6 Aug 2014 23:07:07 +0000 (16:07 -0700)
committerLinus Torvalds <[email protected]>
Thu, 7 Aug 2014 01:01:20 +0000 (18:01 -0700)
commitd0480be44a90af81a425f426c9107fb8f0899f65
tree0d2a5b630d185a1cf3176dec29ee3cd4f256dfd0
parent9aed8614af5a05cdaa32a0b78b0f1a424754a958
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]>
mm/vmscan.c