Re: [PATCH] lib/flex_proportions.c: aging counts when fraction smaller than max_frac/FPROP_FRAC_BASE

2020-05-08 Thread Jan Kara
Thanks for CC Andrew. On Thu 07-05-20 16:46:14, Andrew Morton wrote: > On Wed, 6 May 2020 14:21:28 +0800 Tan Hu wrote: > > > If the given type has fraction smaller than max_frac/FPROP_FRAC_BASE, > > __fprop_inc_percpu_max should follow the design formula and aging > > fraction too. > > > >

Re: [PATCH] lib/flex_proportions.c: aging counts when fraction smaller than max_frac/FPROP_FRAC_BASE

2020-05-07 Thread Andrew Morton
On Wed, 6 May 2020 14:21:28 +0800 Tan Hu wrote: > If the given type has fraction smaller than max_frac/FPROP_FRAC_BASE, > __fprop_inc_percpu_max should follow the design formula and aging > fraction too. > > Signed-off-by: Tan Hu > --- > lib/flex_proportions.c | 7 +++ > 1 file changed, 3

[PATCH] lib/flex_proportions.c: aging counts when fraction smaller than max_frac/FPROP_FRAC_BASE

2020-05-06 Thread Tan Hu
If the given type has fraction smaller than max_frac/FPROP_FRAC_BASE, __fprop_inc_percpu_max should follow the design formula and aging fraction too. Signed-off-by: Tan Hu --- lib/flex_proportions.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git