Re: [PATCH 3/4] PM / OPP: take RCU lock in dev_pm_opp_get_opp_count

From: Viresh Kumar
Date: Wed Dec 17 2014 - 21:11:21 EST


On 18 December 2014 at 05:17, Paul E. McKenney
<paulmck@xxxxxxxxxxxxxxxxxx> wrote:
> Yep, they can be nested. Both rcu_read_lock() and rcu_read_unlock()
> are quite fast, as are their friends, so there is almost no performance
> penalty from nesting. So the decision normally turns on maintainability
> and style.

Thanks again for your kind advice :)
--
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/