commit | b0d524f77956eec887b30732af1f5f98cbf62b9f | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Aug 21 21:09:12 2019 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Wed Aug 28 11:50:38 2019 +0200 |
tree | 3d12aa8c2f3c31437e13783851d20b0b04193c64 | |
parent | bbc9bae1e49bee9862c7f24101a728e73cd9f589 [diff] |
posix-cpu-timers: Provide array based sample functions 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 <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lkml.kernel.org/r/20190821192921.590362974@linutronix.de