Re: [PATCH v2] mm, vmscan: prevent useless kswapd loops

2019-07-03 Thread Mel Gorman
On Mon, Jul 01, 2019 at 01:18:47PM -0700, Shakeel Butt wrote: > On production we have noticed hard lockups on large machines running > large jobs due to kswaps hoarding lru lock within isolate_lru_pages when > sc->reclaim_idx is 0 which is a small zone. The lru was couple hundred > GiBs and the con

Re: [PATCH v2] mm, vmscan: prevent useless kswapd loops

2019-07-01 Thread Yang Shi
On 7/1/19 1:18 PM, Shakeel Butt wrote: On production we have noticed hard lockups on large machines running large jobs due to kswaps hoarding lru lock within isolate_lru_pages when sc->reclaim_idx is 0 which is a small zone. The lru was couple hundred GiBs and the condition (page_zonenum(page)

[PATCH v2] mm, vmscan: prevent useless kswapd loops

2019-07-01 Thread Shakeel Butt
On production we have noticed hard lockups on large machines running large jobs due to kswaps hoarding lru lock within isolate_lru_pages when sc->reclaim_idx is 0 which is a small zone. The lru was couple hundred GiBs and the condition (page_zonenum(page) > sc->reclaim_idx) in isolate_lru_pages was