Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448660

Re: [PATCH 5/5] mm, vmscan: Account for skipped pages as a partial scan

From Johannes Weiner <hannes@cmpxchg.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/5] mm, vmscan: Account for skipped pages as a partial scan
Date 2016-07-22 18:10 +0200
Message-ID <rXLbr-80C-5@gated-at.bofh.it> (permalink)
References <rXmZs-8w7-5@gated-at.bofh.it> <rXmZs-8w7-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jul 21, 2016 at 03:11:01PM +0100, Mel Gorman wrote:
> Page reclaim determines whether a pgdat is unreclaimable by examining how
> many pages have been scanned since a page was freed and comparing that to
> the LRU sizes. Skipped pages are not reclaim candidates but contribute to
> scanned. This can prematurely mark a pgdat as unreclaimable and trigger
> an OOM kill.
> 
> This patch accounts for skipped pages as a partial scan so that an
> unreclaimable pgdat will still be marked as such but by scaling the cost
> of a skip, it'll avoid the pgdat being marked prematurely.
> 
> Signed-off-by: Mel Gorman <mgorman@techsingularity.net>

Acked-by: Johannes Weiner <hannes@cmpxchg.org>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 5/5] mm, vmscan: Account for skipped pages as a partial scan Mel Gorman <mgorman@techsingularity.net> - 2016-07-21 16:20 +0200
  Re: [PATCH 5/5] mm, vmscan: Account for skipped pages as a partial  scan Johannes Weiner <hannes@cmpxchg.org> - 2016-07-22 18:10 +0200
  Re: [PATCH 5/5] mm, vmscan: Account for skipped pages as a partial  scan Minchan Kim <minchan@kernel.org> - 2016-07-25 10:40 +0200
    Re: [PATCH 5/5] mm, vmscan: Account for skipped pages as a partial  scan Mel Gorman <mgorman@techsingularity.net> - 2016-07-25 12:00 +0200

csiph-web