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

2016-07-26 Thread Joonsoo Kim
On Tue, Jul 26, 2016 at 05:16:22PM +0900, Joonsoo Kim wrote: > 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. S

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

2016-07-26 Thread Joonsoo Kim
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.

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

2016-07-25 Thread Mel Gorman
On Mon, Jul 25, 2016 at 05:39:13PM +0900, Minchan Kim wrote: > > @@ -1465,14 +1471,24 @@ static unsigned long isolate_lru_pages(unsigned > > long nr_to_scan, > > */ > > if (!list_empty(&pages_skipped)) { > > int zid; > > + unsigned long total_skipped = 0; > > > > -

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

2016-07-25 Thread Minchan Kim
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.

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

2016-07-22 Thread Johannes Weiner
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.