aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcupdate.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-09-18 14:14:01 -0400
committerIngo Molnar <mingo@elte.hu>2009-09-18 14:47:30 -0400
commitdef0a9b2573e00ab0b486cb5382625203ab4c4a6 (patch)
tree1e3086fc320c244297b5b63cce47065bcfb71e8c /kernel/rcupdate.c
parentcf450a7355a116af793998c118a6bcf7f5a8367e (diff)
sched_clock: Make it NMI safe
Arjan complained about the suckyness of TSC on modern machines, and asked if we could do something about that for PERF_SAMPLE_TIME. Make cpu_clock() NMI safe by removing the spinlock and using cmpxchg. This also makes it smaller and more robust. Affects architectures that use HAVE_UNSTABLE_SCHED_CLOCK, i.e. IA64 and x86. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcupdate.c')
0 files changed, 0 insertions, 0 deletions