]> git.baikalelectronics.ru Git - kernel.git/commit
proc, meminfo: use correct helpers for calculating LRU sizes in meminfo
authorMel Gorman <mgorman@techsingularity.net>
Thu, 11 Aug 2016 22:32:57 +0000 (15:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Aug 2016 23:58:13 +0000 (16:58 -0700)
commit6c182265bcc602445a2598754e1f06690c5e42b3
tree609900c07aa052ce889366ef7ce64df4d9177801
parent23a7550284b7afeaf29e06f02c2c5717af8d15e3
proc, meminfo: use correct helpers for calculating LRU sizes in meminfo

meminfo_proc_show() and si_mem_available() are using the wrong helpers
for calculating the size of the LRUs.  The user-visible impact is that
there appears to be an abnormally high number of unevictable pages.

Link: http://lkml.kernel.org/r/20160805105805.GR2799@techsingularity.net
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/meminfo.c
mm/page_alloc.c