]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove unused pgdat->inactive_ratio
authorAndrey Ryabinin <aryabinin@virtuozzo.com>
Thu, 16 Nov 2017 01:34:15 +0000 (17:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:03 +0000 (18:21 -0800)
commit2d778acb1518a861805519490d2446211fc9d2c9
tree64b482ced9e1f96c56dbebed299706b3535852fb
parent7c8d8f96565394ce702c00ad16b123fc7efd3fd4
mm: remove unused pgdat->inactive_ratio

Since commit 9f0a7ef91b7f ("mm: vmscan: reduce size of inactive file
list") 'pgdat->inactive_ratio' is not used, except for printing
"node_inactive_ratio: 0" in /proc/zoneinfo output.

Remove it.

Link: http://lkml.kernel.org/r/20171003152611.27483-1-aryabinin@virtuozzo.com
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
mm/vmscan.c
mm/vmstat.c