]> git.baikalelectronics.ru Git - kernel.git/commit
mm: update the description for vm_total_pages
authorWang Sheng-Hui <shhuiw@gmail.com>
Wed, 6 Aug 2014 23:07:07 +0000 (16:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:20 +0000 (18:01 -0700)
commit2debff89e6bfe3cc3754c1843f05435ac398eaf3
tree0d2a5b630d185a1cf3176dec29ee3cd4f256dfd0
parenta005c90d22717f4dfcfd7d741d28689538425682
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 <shhuiw@gmail.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c