]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove reclaim and compaction retry approximations
authorMel Gorman <mgorman@techsingularity.net>
Thu, 28 Jul 2016 22:47:31 +0000 (15:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Jul 2016 23:07:41 +0000 (16:07 -0700)
commita9ffb9709cf1e71f9868926d4f27592daeec2667
treeff98e242c5d4d3a24ca49f6ddc707028aeb938f9
parent1f713ecaabc5934207b651858caf6aab8a47c7b4
mm: remove reclaim and compaction retry approximations

If per-zone LRU accounting is available then there is no point
approximating whether reclaim and compaction should retry based on pgdat
statistics.  This is effectively a revert of "mm, vmstat: remove zone
and node double accounting by approximating retries" with the difference
that inactive/active stats are still available.  This preserves the
history of why the approximation was retried and why it had to be
reverted to handle OOM kills on 32-bit systems.

Link: http://lkml.kernel.org/r/1469110261-7365-4-git-send-email-mgorman@techsingularity.net
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
include/linux/swap.h
mm/compaction.c
mm/migrate.c
mm/page-writeback.c
mm/page_alloc.c
mm/vmscan.c
mm/vmstat.c