Re: [PATCH 2/2] Markers Implementation for Preempt RCU Boost Tracing

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mathieu Desnoyers <mathieu.desnoyers@...>, <linux-kernel@...>
Cc: K. Prasad <prasad@...>, <mingo@...>, <linux-rt-users@...>, <dipankar@...>, <paulmck@...>, <rostedt@...>
Date: Monday, January 7, 2008 - 3:43 pm

On Sat, Jan 05, 2008 at 07:46:32AM -0500, Mathieu Desnoyers wrote:

Hi Mathieu,
	Thanks for your suggestions.

Even in functions such as rcu_check_callbacks_rt, rcu_advance_callbacks_rt and
__rcu_advance_callbacks, where a call to RCU_TRACE_RDP() is made, the
'cpu' variable is populated at an early stage with the
return value of smp_processor_id().

__rcu_advance_callbacks() <-- rcu_check_callbacks_rt() <--
rcu_check_callbacks() <-- update_process_times().

update_process_times() [if understood correctly, is called at timer
interrupt level] populates the 'cpu' with smp_processor_id().

There doesn't seem to be a need to pass down the 'cpu' parameter for
the above RCU functions including respective trace_mark() calls.

I am re-sending the patches with your suggested changes in subsequent
mails.

Thanks,
K.Prasad

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

Messages in current thread:
Re: [PATCH 2/2] Markers Implementation for Preempt RCU Boost..., Mathieu Desnoyers, (Thu Jan 3, 12:30 pm)
Re: Markers: multi-probe locking fun (was: Re: [PATCH 0/2] M..., Mathieu Desnoyers, (Tue Feb 19, 6:03 pm)
Re: Markers: multi-probe locking fun (was: Re: [PATCH 0/2] M..., Mathieu Desnoyers, (Tue Feb 19, 4:33 pm)
Re: Markers: multi-probe locking fun (was: Re: [PATCH 0/2] M..., Mathieu Desnoyers, (Tue Feb 19, 6:32 pm)
Re: [PATCH 0/2] Markers Implementation for RCU Tracing - Ver..., Mathieu Desnoyers, (Mon Feb 18, 4:41 pm)
Re: [PATCH 2/2] Markers Implementation for Preempt RCU Boost..., K. Prasad, (Mon Jan 7, 3:43 pm)
Re: [PATCH 2/2] Markers Implementation for Preempt RCU Boost..., Mathieu Desnoyers, (Mon Jan 14, 11:35 am)
Re: [PATCH 2/2] Markers Implementation for Preempt RCU Boost..., Mathieu Desnoyers, (Mon Jan 14, 3:36 pm)