kernel_optimize_test/kernel/time
Kevin Hilman 554b0004d0 vtime: Add HAVE_VIRT_CPU_ACCOUNTING_GEN Kconfig
With VIRT_CPU_ACCOUNTING_GEN, cputime_t becomes 64-bit. In order
to use that feature, arch code should be audited to ensure there are no
races in concurrent read/write of cputime_t. For example,
reading/writing 64-bit cputime_t on some 32-bit arches may require
multiple accesses for low and high value parts, so proper locking
is needed to protect against concurrent accesses.

Therefore, add CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN which arches can
enable after they've been audited for potential races.

This option is automatically enabled on 64-bit platforms.

Feature requested by Frederic Weisbecker.

Signed-off-by: Kevin Hilman <khilman@linaro.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Arm Linux <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
2013-09-30 15:35:53 +02:00
..
alarmtimer.c
clockevents.c
clocksource.c
jiffies.c
Kconfig vtime: Add HAVE_VIRT_CPU_ACCOUNTING_GEN Kconfig 2013-09-30 15:35:53 +02:00
Makefile
ntp_internal.h
ntp.c timekeeping: Fix HRTICK related deadlock from ntp lock changes 2013-09-12 07:49:51 +02:00
posix-clock.c
sched_clock.c sched_clock: Fix integer overflow 2013-07-22 16:24:22 -07:00
tick-broadcast.c tick: broadcast: Check broadcast mode on CPU hotplug 2013-07-12 12:35:40 +02:00
tick-common.c
tick-internal.h
tick-oneshot.c
tick-sched.c Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-08-19 09:17:35 -07:00
timeconv.c
timekeeping_debug.c
timekeeping_internal.h
timekeeping.c timekeeping: Fix HRTICK related deadlock from ntp lock changes 2013-09-12 07:49:51 +02:00
timer_list.c timer_list: correct the iterator for timer_list 2013-08-28 19:26:38 -07:00
timer_stats.c