diff options
| author | Steven Rostedt <[email protected]> | 2008-11-12 05:01:27 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-11-12 10:23:36 +0000 |
| commit | 47e74f2ba8fbf9fb1378e2524e6cfdc2fb37f160 (patch) | |
| tree | 7d49bf91e5409c432b259c26fcadff0450dffe43 /lib/list_debug.c | |
| parent | Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt... (diff) | |
| download | kernel-47e74f2ba8fbf9fb1378e2524e6cfdc2fb37f160.tar.gz kernel-47e74f2ba8fbf9fb1378e2524e6cfdc2fb37f160.zip | |
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions
