From: Steven Rostedt Date: Wed, 12 Nov 2008 05:01:27 +0000 (-0500) Subject: ring-buffer: no preempt for sched_clock() X-Git-Tag: v2.6.28-rc6~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47e74f2ba8fbf9fb1378e2524e6cfdc2fb37f160;p=pandora-kernel.git ring-buffer: no preempt for sched_clock() Impact: disable preemption when calling sched_clock() The ring_buffer_time_stamp still uses sched_clock as its counter. But it is a bug to call it with preemption enabled. This requirement should not be pushed to the ring_buffer_time_stamp callers, so the ring_buffer_time_stamp needs to disable preemption when calling sched_clock. Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed