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>
Showing
- include/linux/mmzone.h 1 addition, 0 deletionsinclude/linux/mmzone.h
- include/linux/swap.h 1 addition, 0 deletionsinclude/linux/swap.h
- mm/compaction.c 1 addition, 19 deletionsmm/compaction.c
- mm/migrate.c 2 additions, 0 deletionsmm/migrate.c
- mm/page-writeback.c 5 additions, 0 deletionsmm/page-writeback.c
- mm/page_alloc.c 10 additions, 39 deletionsmm/page_alloc.c
- mm/vmscan.c 18 additions, 0 deletionsmm/vmscan.c
- mm/vmstat.c 1 addition, 0 deletionsmm/vmstat.c
Loading