Re: [PATCH 3/4] rculist: add list_for_each_entry_from_rcu()

2018-04-30 Thread Paul E. McKenney
On Mon, Apr 30, 2018 at 11:14:54AM -0400, Steven Rostedt wrote: > On Mon, 30 Apr 2018 06:43:08 -0700 > "Paul E. McKenney" wrote: > > > On Sun, Apr 29, 2018 at 10:20:33PM -0700, Josh Triplett wrote: > > > On Mon, Apr 30, 2018 at 02:31:30PM +1000, NeilBrown wrote: > > > > list_for_each_entry_from

Re: [PATCH 3/4] rculist: add list_for_each_entry_from_rcu()

2018-04-30 Thread Steven Rostedt
On Mon, 30 Apr 2018 06:43:08 -0700 "Paul E. McKenney" wrote: > On Sun, Apr 29, 2018 at 10:20:33PM -0700, Josh Triplett wrote: > > On Mon, Apr 30, 2018 at 02:31:30PM +1000, NeilBrown wrote: > > > list_for_each_entry_from_rcu() is an RCU version of > > > list_for_each_entry_from(). It walks a li

Re: [PATCH 3/4] rculist: add list_for_each_entry_from_rcu()

2018-04-30 Thread Paul E. McKenney
On Sun, Apr 29, 2018 at 10:20:33PM -0700, Josh Triplett wrote: > On Mon, Apr 30, 2018 at 02:31:30PM +1000, NeilBrown wrote: > > list_for_each_entry_from_rcu() is an RCU version of > > list_for_each_entry_from(). It walks a linked list under rcu > > protection, from a given start point. > > > > It

Re: [PATCH 3/4] rculist: add list_for_each_entry_from_rcu()

2018-04-29 Thread Josh Triplett
On Mon, Apr 30, 2018 at 02:31:30PM +1000, NeilBrown wrote: > list_for_each_entry_from_rcu() is an RCU version of > list_for_each_entry_from(). It walks a linked list under rcu > protection, from a given start point. > > It is similar to list_for_each_entry_continue_rcu() but starts *at* > the giv

[PATCH 3/4] rculist: add list_for_each_entry_from_rcu()

2018-04-29 Thread NeilBrown
list_for_each_entry_from_rcu() is an RCU version of list_for_each_entry_from(). It walks a linked list under rcu protection, from a given start point. It is similar to list_for_each_entry_continue_rcu() but starts *at* the given position rather than *after* it. Naturally, the start point must be