Re: [PATCH RESEND] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-09-26 Thread Michal Hocko
On Wed 26-09-18 09:13:43, Roman Gushchin wrote: > On Tue, Sep 25, 2018 at 08:58:45PM +0200, Michal Hocko wrote: > > On Mon 17-09-18 23:10:59, Roman Gushchin wrote: > > > The memcg OOM killer is never invoked due to a failed high-order > > > allocation, however the MEMCG_OOM event can be raised. > >

Re: [PATCH RESEND] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-09-26 Thread Roman Gushchin
On Tue, Sep 25, 2018 at 08:58:45PM +0200, Michal Hocko wrote: > On Mon 17-09-18 23:10:59, Roman Gushchin wrote: > > The memcg OOM killer is never invoked due to a failed high-order > > allocation, however the MEMCG_OOM event can be raised. > > > > As shown below, it can happen under conditions, wh

Re: [PATCH RESEND] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-09-25 Thread Michal Hocko
On Mon 17-09-18 23:10:59, Roman Gushchin wrote: > The memcg OOM killer is never invoked due to a failed high-order > allocation, however the MEMCG_OOM event can be raised. > > As shown below, it can happen under conditions, which are very > far from a real OOM: e.g. there is plenty of clean pageca

Re: [PATCH RESEND] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-09-25 Thread Roman Gushchin
On Mon, Sep 17, 2018 at 04:08:46PM -0700, Roman Gushchin wrote: > The memcg OOM killer is never invoked due to a failed high-order > allocation, however the MEMCG_OOM event can be raised. > > As shown below, it can happen under conditions, which are very > far from a real OOM: e.g. there is plenty

[PATCH RESEND] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-09-17 Thread Roman Gushchin
The memcg OOM killer is never invoked due to a failed high-order allocation, however the MEMCG_OOM event can be raised. As shown below, it can happen under conditions, which are very far from a real OOM: e.g. there is plenty of clean pagecache and low memory pressure. There is no sense in raising