Re: [PATCH tip/core/rcu 6/9] bpf/cgroup: Replace rcu_swap_protected() with rcu_replace()

2019-10-05 Thread Paul E. McKenney
On Thu, Oct 03, 2019 at 01:58:13PM -0700, Song Liu wrote: > On Thu, Oct 3, 2019 at 10:43 AM Andrii Nakryiko > wrote: > > > > On Wed, Oct 2, 2019 at 6:45 PM wrote: > > > > > > From: "Paul E. McKenney" > > > > > > This commit replaces the use of rcu_swap_protected() with the more > > >

Re: [PATCH tip/core/rcu 6/9] bpf/cgroup: Replace rcu_swap_protected() with rcu_replace()

2019-10-03 Thread Song Liu
On Thu, Oct 3, 2019 at 10:43 AM Andrii Nakryiko wrote: > > On Wed, Oct 2, 2019 at 6:45 PM wrote: > > > > From: "Paul E. McKenney" > > > > This commit replaces the use of rcu_swap_protected() with the more > > intuitively appealing rcu_replace() as a step towards removing > >

Re: [PATCH tip/core/rcu 6/9] bpf/cgroup: Replace rcu_swap_protected() with rcu_replace()

2019-10-03 Thread Andrii Nakryiko
On Wed, Oct 2, 2019 at 6:45 PM wrote: > > From: "Paul E. McKenney" > > This commit replaces the use of rcu_swap_protected() with the more > intuitively appealing rcu_replace() as a step towards removing > rcu_swap_protected(). > > Link: >

[PATCH tip/core/rcu 6/9] bpf/cgroup: Replace rcu_swap_protected() with rcu_replace()

2019-10-02 Thread paulmck
From: "Paul E. McKenney" This commit replaces the use of rcu_swap_protected() with the more intuitively appealing rcu_replace() as a step towards removing rcu_swap_protected(). Link: https://lore.kernel.org/lkml/CAHk-=wiAsJLw1egFEE=z7-ggtm6wcvtyytxza1+bhqta4gg...@mail.gmail.com/ Reported-by: