Commits
Andrey Ryabinin authored and Konstantin Khorenko committed 3a090b2339f
mm/vmscan: collect reclaim stats across zone Currently we collect reclaim stats per-lru list and set zone flags based on these stats. This seems wrong, as lrus a per-memcg thus one zone could have hundreds of them. So add reclaim_stats pointer into shrink_control struct and sum counters we need while iterating lrus in zone. Don't use them yet, that's would be the next patch. https://jira.sw.ru/browse/PSBM-61409 Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>