[Devel] [PATCH rh7] vmscan: do not throttle kthreads due to too_many_isolated

2015-11-26 Thread Vladimir Davydov
Ploop hands off bio processing to its kernel thread. This might result to a dead lock as described below: 1. Several processes performing memcg reclaim isolate a bunch of reclaimable pages and all get stuck in shrink_page_list waiting for a page writeback to finish. Page writeback is up

Re: [Devel] [PATCH rh7] mm: mmap_region: uncharge UB_LOCKEDPAGES if vma cannot be locked

2015-11-26 Thread Vladimir Davydov
On Thu, Nov 26, 2015 at 06:08:25PM +0300, Vladimir Davydov wrote: > mmap_region workflow regarding locked pages was changed during rebase > from RH6 to RH7. The patch porting locked pages accounting did not allow > for that. > > Presumably, this should fix UB_LOCKEDPAGES leak on CT stop: > >

[Devel] [PATCH rh7] mm: mmap_region: uncharge UB_LOCKEDPAGES if vma cannot be locked

2015-11-26 Thread Vladimir Davydov
mmap_region workflow regarding locked pages was changed during rebase from RH6 to RH7. The patch porting locked pages accounting did not allow for that. Presumably, this should fix UB_LOCKEDPAGES leak on CT stop: Ub 101 helds 8 in lockedpages on put UB: leaked beancounter 101

Re: [Devel] [PATCH rh7 1/3] vmscan: fix slab vs lru balance

2015-11-26 Thread Konstantin Khorenko
Kirill, please review. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 11/25/2015 06:42 PM, Vladimir Davydov wrote: The comment to shrink_slab states that the portion of kmem objects scanned by it equals the portion of lru pages scanned by shrink_zone over

Re: [Devel] [PATCH rh7] mm: mmap_region: uncharge UB_LOCKEDPAGES if vma cannot be locked

2015-11-26 Thread Konstantin Khorenko
Kirill, please review. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 11/26/2015 06:08 PM, Vladimir Davydov wrote: mmap_region workflow regarding locked pages was changed during rebase from RH6 to RH7. The patch porting locked pages accounting did not allow for that.