Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1476223

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

From Stanislaw Gruszka <sgruszka@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] sched/cputime: sum_exec_runtime fixes for 32-bit cpus
Date 2016-09-05 11:20 +0200
Message-ID <sdYel-1Lf-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v2 0/2] sched/cputime: sum_exec_runtime fixes for 32-bit cpus Stanislaw Gruszka <sgruszka@redhat.com> - 2016-09-05 11:20 +0200

csiph-web