[lkml]   [2009]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] tracing: Fix lockdep warning in global_clock()
Peter Zijlstra wrote:
> On Tue, 2009-12-22 at 13:17 +0800, Li Zefan wrote:
>> Looking into sched_clock.c, seems the only place that can trigger lockdep
>> is the local_irq_* in cpu_clock(), though I'm not sure for architecture-
>> specific sched_clock().
> But why would you want to do that? that reduces the lockdep coverage for
> no good reason, just fix up the tracer.

Then the proper fix is to use local_irq_* in global_clock(), which
is what this patch does.

 \ /
  Last update: 2009-12-23 02:01    [W:0.062 / U:27.020 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site