From: Vincent Guittot Date: Mon, 22 Oct 2012 23:21:49 +0000 (+0200) Subject: PM / OPP: RCU reclaim X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~88^2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dde8437d06560366d8988c92b5774039ec703864;p=pandora-kernel.git PM / OPP: RCU reclaim synchronize_rcu() blocks the caller of opp_enable/disbale for a complete grace period. This blocking duration prevents any intensive use of the functions. Replace synchronize_rcu() by call_rcu() which will call our function for freeing the old opp element. The duration of opp_enable() and opp_disable() will be no more dependant of the grace period. Signed-off-by: Vincent Guittot Reviewed-by: Paul E. McKenney Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed