]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmscan.c: fix recent_rotated history
authorKirill Tkhai <ktkhai@virtuozzo.com>
Thu, 13 Jun 2019 22:55:58 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jun 2019 03:34:56 +0000 (17:34 -1000)
commit7a8dd23eb9bbb315d3d35b1b2134cd63ec9aa8ed
tree8f03a56610a178086ab52af0579651792f9eedda
parent29c904ae62c9a5c407c4fbda84927bcb66eb6b0c
mm/vmscan.c: fix recent_rotated history

Johannes pointed out that after commit e2c419de73cd ("mm: move
recent_rotated pages calculation to shrink_inactive_list()") we lost all
zone_reclaim_stat::recent_rotated history.

This fixes it.

Link: http://lkml.kernel.org/r/155905972210.26456.11178359431724024112.stgit@localhost.localdomain
Fixes: e2c419de73cd ("mm: move recent_rotated pages calculation to shrink_inactive_list()")
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Reported-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c