Re: [patch V2 34/38] posix-cpu-timers: Get rid of 64bit divisions

2019-08-26 Thread Frederic Weisbecker
On Wed, Aug 21, 2019 at 09:09:21PM +0200, Thomas Gleixner wrote: > Instead of dividing A to match the units of B it's more efficient to > multiply B to match the units of A. > > Signed-off-by: Thomas Gleixner > --- > V2: Fix the dropped update of the expiry cache when the soft limit increased > -

[patch V2 34/38] posix-cpu-timers: Get rid of 64bit divisions

2019-08-21 Thread Thomas Gleixner
Instead of dividing A to match the units of B it's more efficient to multiply B to match the units of A. Signed-off-by: Thomas Gleixner --- V2: Fix the dropped update of the expiry cache when the soft limit increased --- kernel/time/posix-cpu-timers.c | 24 ++-- 1 file chan