summaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
authorPriyanka Jain <Priyanka.Jain@freescale.com>2012-08-12 21:22:29 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-14 14:57:37 -0700
commit418a99ac6ad487dc9c42e6b0e85f941af56330f2 (patch)
tree78e3d2f124a3c83c2ce03d05bb6e1fa68cce60d4 /net/9p
parentc12b395a46646bab69089ce7016ac78177f6001f (diff)
downloadop-kernel-dev-418a99ac6ad487dc9c42e6b0e85f941af56330f2.zip
op-kernel-dev-418a99ac6ad487dc9c42e6b0e85f941af56330f2.tar.gz
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 <Priyanka.Jain@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud