Re: [PATCH RT 3/3] fix get_monotonic_cycles for latency tracer

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Steven Rostedt <rostedt@...>
Cc: Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, RT <linux-rt-users@...>, Thomas Gleixner <tglx@...>
Date: Friday, August 24, 2007 - 2:30 pm

On Fri, 2007-08-24 at 13:57 -0400, Steven Rostedt wrote:

Ah! good catch. I totally missed that get_monotonic_cycles was being
called outside of the xtime lock.



So if I'm understanding this right, not taking a lock isn't an
optimization (as the seq read lock code is almost the same), but a
requirement (as this might be called while xtime_lock is held),
correct? 

Might want to clarify that a bit in the comment.



Otherwise:
Acked-by: John Stultz <johnstul@us.ibm.com>

thanks
-john


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RT 3/3] fix get_monotonic_cycles for latency tracer, Steven Rostedt, (Fri Aug 24, 1:57 pm)
Re: [PATCH RT 3/3] fix get_monotonic_cycles for latency tracer, john stultz, (Fri Aug 24, 2:30 pm)