Re: [PATCH] z3fold: discourage use of pages that weren't compacted

2016-11-15 Thread Vitaly Wool
On Tue, Nov 15, 2016 at 1:33 AM, Andrew Morton wrote: > On Fri, 11 Nov 2016 14:02:07 +0100 Vitaly Wool wrote: > >> If a z3fold page couldn't be compacted, we don't want it to be >> used for next object allocation in the first place. It makes more >> sense to add it to the end of the relevant unbu

Re: [PATCH] z3fold: discourage use of pages that weren't compacted

2016-11-14 Thread Andrew Morton
On Fri, 11 Nov 2016 14:02:07 +0100 Vitaly Wool wrote: > If a z3fold page couldn't be compacted, we don't want it to be > used for next object allocation in the first place. It makes more > sense to add it to the end of the relevant unbuddied list. If that > page gets compacted later, it will be a

[PATCH] z3fold: discourage use of pages that weren't compacted

2016-11-11 Thread Vitaly Wool
If a z3fold page couldn't be compacted, we don't want it to be used for next object allocation in the first place. It makes more sense to add it to the end of the relevant unbuddied list. If that page gets compacted later, it will be added to the beginning of the list then. This simple idea gives