]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit2f95ff90b99600f53df4a0aa652322d349d67957
tree609900c07aa052ce889366ef7ce64df4d9177801
parentc1470b33bb6e18cddd361fef339ef225b8339fe7
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