Re: [patch V2 25/38] posix-cpu-timers: Provide array based sample functions

2019-08-23 Thread Frederic Weisbecker
On Wed, Aug 21, 2019 at 09:09:12PM +0200, Thomas Gleixner wrote: > Instead of using task_cputime and doing the addition of utime and stime at > all call sites, it's way simpler to have a sample array which allows > indexed based checks against the expiry cache array. > > Signed-off-by: Thomas Glei

[patch V2 25/38] posix-cpu-timers: Provide array based sample functions

2019-08-21 Thread Thomas Gleixner
Instead of using task_cputime and doing the addition of utime and stime at all call sites, it's way simpler to have a sample array which allows indexed based checks against the expiry cache array. Signed-off-by: Thomas Gleixner --- kernel/time/posix-cpu-timers.c | 26 ++