[PATCH 0/1] sched/cputime: Mitigate performance regression in times()/clock_gettime()

From: Giovanni Gherdovich
Date: Fri Aug 05 2016 - 04:22:27 EST


As per Peter Zijlstra's review, these are the difference wrt V1:

* inclusion of appropriate header file linux/prefetch.h
* factorized the calls to prefetch into a separate function
* introduction of the local variable curr as a form of compiler
subexpression elimination (CSE)
* fixed Signed-off-by chain
* added comment as per why the prefetches are needed

Giovanni Gherdovich (1):
sched/cputime: Mitigate performance regression in
times()/clock_gettime()

kernel/sched/core.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

--
2.6.6