[PATCH v2 0/2] sched/cputime: sum_exec_runtime fixes for 32-bit cpus

From: Stanislaw Gruszka
Date: Mon Sep 05 2016 - 05:16:32 EST


Optimize read_sum_exec_runtime() on 32-bit cpus by taking only p->pi_lock
and use above function to protect reads of 64bit sum_exec_runtime on
other places on 32 bit architectures.

Stanislaw Gruszka (2):
sched/cputime: Use only pi_lock to protect sum_exec_runtime read
sched/cputime: Protect other sum_exec_runtime reads on 32 bit cpus

fs/proc/base.c | 2 +-
include/linux/sched.h | 18 ++++++++++++++++++
kernel/delayacct.c | 2 +-
kernel/exit.c | 2 +-
kernel/sched/cputime.c | 22 +---------------------
kernel/time/posix-cpu-timers.c | 4 ++--
6 files changed, 24 insertions(+), 26 deletions(-)

--
1.8.3.1