Re: [PATCH 0/2] Move away from non-failing small allocations

2015-04-02 Thread Tetsuo Handa
Tetsuo Handa wrote: > Michal Hocko wrote: > > We are seeing issues with the fs code now because the test cases which > > led to the current discussion exercise FS code. The code which does > > lock(); kmalloc(GFP_KERNEL) is not reduced there though. I am pretty sure > > we can find other subsystems

Re: [PATCH 0/2] Move away from non-failing small allocations

2015-03-17 Thread Tetsuo Handa
Michal Hocko wrote: > On Mon 16-03-15 15:38:43, Andrew Morton wrote: > > Realistically, I don't think this overall effort will be successful - > > we'll add the knob, it won't get enough testing and any attempt to > > alter the default will be us deliberately destabilizing the kernel > > without kn

Re: [PATCH 0/2] Move away from non-failing small allocations

2015-03-17 Thread Michal Hocko
On Mon 16-03-15 15:38:43, Andrew Morton wrote: > On Wed, 11 Mar 2015 16:54:52 -0400 Michal Hocko wrote: > > > as per discussion at LSF/MM summit few days back it seems there is a > > general agreement on moving away from "small allocations do not fail" > > concept. > > Such a change affects basi

Re: [PATCH 0/2] Move away from non-failing small allocations

2015-03-16 Thread Andrew Morton
On Wed, 11 Mar 2015 16:54:52 -0400 Michal Hocko wrote: > as per discussion at LSF/MM summit few days back it seems there is a > general agreement on moving away from "small allocations do not fail" > concept. Such a change affects basically every part of the kernel and every kernel developer. I

Re: [PATCH 0/2] Move away from non-failing small allocations

2015-03-11 Thread Sasha Levin
On 03/11/2015 04:54 PM, Michal Hocko wrote: > The second patch is the first step in the transition plan. It changes > the default but it is NOT an upstream material. It is aimed for brave > testers who can cope with failures. I have talked to Andrew and he > was willing to keep that patch in mmotm

[PATCH 0/2] Move away from non-failing small allocations

2015-03-11 Thread Michal Hocko
Hi, as per discussion at LSF/MM summit few days back it seems there is a general agreement on moving away from "small allocations do not fail" concept. There are two patches in this series. The first one exports a sysctl knob which controls how hard small allocation (!__GFP_NOFAIL ones of course)