Re: [RFC PATCH 0/1] mm: add a warning about high order allocations

2018-12-28 Thread Michal Hocko
On Fri 28-12-18 14:23:29, Konstantin Khorenko wrote: > On 12/27/2018 07:46 PM, Michal Hocko wrote: > > On Thu 27-12-18 15:18:54, Konstantin Khorenko wrote: > >> Hi Michal, > >> > >> thank you very much for your questions, please see my notes below. > >> > >> On 12/26/2018 11:35 AM, Michal Hocko

Re: [RFC PATCH 0/1] mm: add a warning about high order allocations

2018-12-28 Thread Konstantin Khorenko
On 12/27/2018 07:46 PM, Michal Hocko wrote: > On Thu 27-12-18 15:18:54, Konstantin Khorenko wrote: >> Hi Michal, >> >> thank you very much for your questions, please see my notes below. >> >> On 12/26/2018 11:35 AM, Michal Hocko wrote: >>> On Tue 25-12-18 18:39:26, Konstantin Khorenko wrote:

Re: [RFC PATCH 0/1] mm: add a warning about high order allocations

2018-12-27 Thread Michal Hocko
On Thu 27-12-18 15:18:54, Konstantin Khorenko wrote: > Hi Michal, > > thank you very much for your questions, please see my notes below. > > On 12/26/2018 11:35 AM, Michal Hocko wrote: > > On Tue 25-12-18 18:39:26, Konstantin Khorenko wrote: > >> Q: Why do we need to bother at all? > >> A: If a

Re: [RFC PATCH 0/1] mm: add a warning about high order allocations

2018-12-27 Thread Konstantin Khorenko
Hi Michal, thank you very much for your questions, please see my notes below. On 12/26/2018 11:35 AM, Michal Hocko wrote: > On Tue 25-12-18 18:39:26, Konstantin Khorenko wrote: >> Q: Why do we need to bother at all? >> A: If a node is highly loaded and its memory is significantly fragmented >>

Re: [RFC PATCH 0/1] mm: add a warning about high order allocations

2018-12-26 Thread Michal Hocko
On Tue 25-12-18 18:39:26, Konstantin Khorenko wrote: > Q: Why do we need to bother at all? > A: If a node is highly loaded and its memory is significantly fragmented > (unfortunately almost any node with serious load has highly fragmented memory) > then any high order memory allocation can trigger

[RFC PATCH 0/1] mm: add a warning about high order allocations

2018-12-25 Thread Konstantin Khorenko
Q: Why do we need to bother at all? A: If a node is highly loaded and its memory is significantly fragmented (unfortunately almost any node with serious load has highly fragmented memory) then any high order memory allocation can trigger massive memory shrink and result in quite a big allocation