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
| ||
|
Date: Sat, 3 Nov 2012 17:09:40 +0100 From: Frederic Weisbecker <fweisbec@...il.com> To: LKML <linux-kernel@...r.kernel.org> Cc: Frederic Weisbecker <fweisbec@...il.com>, Andrew Morton <akpm@...ux-foundation.org>, "H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...nel.org>, "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, Peter Zijlstra <peterz@...radead.org>, Steven Rostedt <rostedt@...dmis.org>, Thomas Gleixner <tglx@...utronix.de> Subject: [PATCH 0/3] cputime: Generic virtual based cputime accounting v4 Hi, I'm back on this patchset now that the necessary cputime cleanups are merged, although more cputime consolidation as in the ctx switch and tick path should also be done in the future, when I'll get time to cleanup the s390 part. So this version of the generic vtime is essentially a rebase against latest changes (tip:sched/core). Once we get that thing in, we'll need to handle the cputime read side when the write side is in nohz mode. Probably no big deal but let's move step by step, as usual. Comments? This can be fetched from: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git vtime/generic-v4 Frederic Weisbecker (3): context_tracking: New context tracking susbsystem cputime: Allow dynamic switch between tick/virtual based cputime accounting cputime: Generic on-demand virtual cputime accounting arch/Kconfig | 12 +- arch/ia64/include/asm/cputime.h | 5 + arch/ia64/kernel/time.c | 2 +- arch/powerpc/include/asm/cputime.h | 5 + arch/powerpc/kernel/time.c | 2 +- arch/s390/include/asm/cputime.h | 5 + arch/s390/kernel/vtime.c | 2 +- arch/x86/Kconfig | 2 +- arch/x86/include/asm/{rcu.h => context_tracking.h} | 13 +- arch/x86/kernel/entry_64.S | 2 +- arch/x86/kernel/ptrace.c | 8 +- arch/x86/kernel/signal.c | 5 +- arch/x86/kernel/traps.c | 2 +- arch/x86/mm/fault.c | 2 +- include/linux/context_tracking.h | 46 ++++++ include/linux/rcupdate.h | 2 - include/linux/sched.h | 13 +-- include/linux/vtime.h | 14 ++ init/Kconfig | 41 ++++-- kernel/Makefile | 1 + kernel/context_tracking.c | 71 +++++++++ kernel/fork.c | 3 +- kernel/rcutree.c | 64 +-------- kernel/sched/core.c | 9 +- kernel/sched/cputime.c | 152 ++++++++++++++++---- kernel/time/tick-sched.c | 5 +- 26 files changed, 335 insertions(+), 153 deletions(-) rename arch/x86/include/asm/{rcu.h => context_tracking.h} (69%) create mode 100644 include/linux/context_tracking.h create mode 100644 kernel/context_tracking.c -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists