lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1472722064-7151-1-git-send-email-sgruszka@redhat.com>
Date:   Thu,  1 Sep 2016 11:27:41 +0200
From:   Stanislaw Gruszka <sgruszka@...hat.com>
To:     linux-kernel@...r.kernel.org
Cc:     Giovanni Gherdovich <ggherdovich@...e.cz>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Mel Gorman <mgorman@...hsingularity.net>,
        Mike Galbraith <mgalbraith@...e.de>,
        Paolo Bonzini <pbonzini@...hat.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Rik van Riel <riel@...hat.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Wanpeng Li <wanpeng.li@...mail.com>,
        Ingo Molnar <mingo@...nel.org>,
        Stanislaw Gruszka <sgruszka@...hat.com>
Subject: [PATCH 0/3] sched/cputime: sum_exec_runtime fixes for 32-bit cpus

We already improved scalability of SYS_times() and
SYS_clock_gettimes(CLOCK_PROCESS_CPUTIME_ID) syscalls on 64-bit cpus.
However performance on 32-bit cpus is still poor. Patches improved that
and fix sum_exec_runtime 64 bit variable possible (but very very unlike)
inconsistency problem on 32-bit architectures.

Second patch could be merged with first one, but I posted it separately
for eventual discussion.

Stanislaw Gruszka (3):
  sched/cputime: Improve scalability of times()/clock_gettime() on 32
    bit cpus
  sched/cputime: Make nr_migrations u32 on 32 bit cpus
  sched/cputime: Protect other sum_exec_runtime reads on 32 bit cpus

 fs/proc/base.c                 |  2 +-
 include/linux/sched.h          | 40 ++++++++++++++++++++++++++++++++++++++--
 kernel/delayacct.c             |  2 +-
 kernel/exit.c                  |  2 +-
 kernel/sched/core.c            | 17 +++++------------
 kernel/sched/cputime.c         | 24 ++----------------------
 kernel/sched/deadline.c        |  2 +-
 kernel/sched/debug.c           |  4 ++--
 kernel/sched/fair.c            |  2 +-
 kernel/sched/rt.c              |  2 +-
 kernel/time/posix-cpu-timers.c |  7 ++++---
 11 files changed, 57 insertions(+), 47 deletions(-)

-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ