On Wed, Oct 22, 2008 at 08:41:11PM +0200, Manfred Spraul wrote:
That would work fine for rcutree.c. If I were to invoke
rcu_check_callbacks() remotely, I would use something like
smp_call_function() to make it happen.
Hmmm... Looks like rcu_pending is also always called with its cpu
parameter set to the current CPU, and same for rcu_needs_cpu().
And given that all the external uses of rcu_check_callbacks() are
of the following form:
if (rcu_pending(cpu))
rcu_check_callbacks(cpu, whatever);
perhaps rcu_pending() should be an internal-to-RCU API invoked from
rcu_check_callbacks().
Thoughts?
Thanx, Paul
--