Re: [RFC, PATCH] mm, thp: Try to bound number of pages on deferred split queue

2019-10-17 Thread Yang Shi
On 10/15/19 1:09 AM, Michal Hocko wrote: On Wed 09-10-19 17:45:09, Kirill A. Shutemov wrote: THPs on deferred split queue got split by shrinker if memory pressure comes. In absence of memory pressure, there is no bound on how long the deferred split queue can be. In extreme cases, deferred

Re: [RFC, PATCH] mm, thp: Try to bound number of pages on deferred split queue

2019-10-15 Thread Michal Hocko
On Wed 09-10-19 17:45:09, Kirill A. Shutemov wrote: > THPs on deferred split queue got split by shrinker if memory pressure > comes. > > In absence of memory pressure, there is no bound on how long the > deferred split queue can be. In extreme cases, deferred queue can grow > to tens of

[RFC, PATCH] mm, thp: Try to bound number of pages on deferred split queue

2019-10-09 Thread Kirill A. Shutemov
THPs on deferred split queue got split by shrinker if memory pressure comes. In absence of memory pressure, there is no bound on how long the deferred split queue can be. In extreme cases, deferred queue can grow to tens of gigabytes. It is suboptimal: even without memory pressure we can find