Re: [PATCH] rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() function
From: Alexander Gordeev
Date: Wed Oct 29 2014 - 09:37:36 EST
On Wed, Oct 29, 2014 at 05:47:29AM -0700, Paul E. McKenney wrote:
> On Wed, Oct 29, 2014 at 12:07:07PM +0100, Alexander Gordeev wrote:
> > Function rcu_is_cpu_rrupt_from_idle() is called from scheduling-
> > clock interrupt handler to check if the current CPU was interrupted
> > from idle. If true, it results in invocation of RCU callbacks. But
> > the common hardware interrupt exit path also contains similar check
> > and therefore the call to rcu_is_cpu_rrupt_from_idle() is redundant.
>
> By common hardware interrupt exit path, you are meaning the calls
> to rcu_irq_exit()? If not, please let me know exactly what you
> mean here.
Yes, I mean rcu_irq_exit().
> Thanx, Paul
--
Regards,
Alexander Gordeev
agordeev@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/