Re: [PATCH v1 07/10] sched/fair: Remove useless 64-bit to 32-bit variable conversion

2016-08-29 Thread Yuyang Du
On Thu, Aug 25, 2016 at 09:11:56AM +0200, Vincent Guittot wrote: > On 10 August 2016 at 02:14, Yuyang Du wrote: > > In __decay_sum(), the 64-bit to 32-bit variable conversion makes no > > performance nor correctness use. > > Are you sure that there is no impact on 32bits system ? > Even this will

Re: [PATCH v1 07/10] sched/fair: Remove useless 64-bit to 32-bit variable conversion

2016-08-25 Thread Vincent Guittot
On 10 August 2016 at 02:14, Yuyang Du wrote: > In __decay_sum(), the 64-bit to 32-bit variable conversion makes no > performance nor correctness use. Are you sure that there is no impact on 32bits system ? Even this will be mainly shift manipulation > > Minor cleanup and no functionality change

[PATCH v1 07/10] sched/fair: Remove useless 64-bit to 32-bit variable conversion

2016-08-10 Thread Yuyang Du
In __decay_sum(), the 64-bit to 32-bit variable conversion makes no performance nor correctness use. Minor cleanup and no functionality change. Signed-off-by: Yuyang Du --- kernel/sched/fair.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/kernel/sched/fair.