On Fri, Aug 12, 2016 at 10:22:54AM +0200, Steffen Klassert wrote:
> On Thu, Aug 11, 2016 at 03:17:51PM +0200, Florian Westphal wrote:
> > Since commit d188ba86dd07a72eb ("xfrm: add rcu protection to
> > sk->sk_policy[]")
> > sk_policy can rely on rcu protection.
> >
> > This change allows to also
On Thu, Aug 11, 2016 at 03:17:51PM +0200, Florian Westphal wrote:
> Since commit d188ba86dd07a72eb ("xfrm: add rcu protection to sk->sk_policy[]")
> sk_policy can rely on rcu protection.
>
> This change allows to also use rcu in xfrm_policy_lookup_bytype and to
> avoid grabbing the read-sie policy
Since commit d188ba86dd07a72eb ("xfrm: add rcu protection to sk->sk_policy[]")
sk_policy can rely on rcu protection.
This change allows to also use rcu in xfrm_policy_lookup_bytype and to
avoid grabbing the read-sie policy lock during lookups.
read-side policy rwlock is converted to pure rcu, the