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


Groups > linux.kernel > #1476223 > unrolled thread

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

Started byStanislaw Gruszka <sgruszka@redhat.com>
First post2016-09-05 11:20 +0200
Last post2016-09-05 11:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [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

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

FromStanislaw Gruszka <sgruszka@redhat.com>
Date2016-09-05 11:20 +0200
Subject[PATCH v2 0/2] sched/cputime: sum_exec_runtime fixes for 32-bit cpus
Message-ID<sdYel-1Lf-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web