From: Priyanka Jain Date: Sun, 12 Aug 2012 21:22:29 +0000 (+0000) Subject: Replace rwlock on xfrm_policy_afinfo with rcu X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~344 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418a99ac6ad487dc9c42e6b0e85f941af56330f2;p=pandora-kernel.git Replace rwlock on xfrm_policy_afinfo with rcu xfrm_policy_afinfo is read mosly data structure. Write on xfrm_policy_afinfo is done only at the time of configuration. So rwlocks can be safely replaced with RCU. RCUs usage optimizes the performance. Signed-off-by: Priyanka Jain Signed-off-by: David S. Miller --- Reading git-diff-tree failed