On Fri, 2007-09-07 at 08:34 -0700, Paul E. McKenney wrote: > > + * Continue to iterate over rcu list of given type, continuing after > > + * the current position. > > Please add something like the following to this comment: > > Note that the caller is responsible for making sure that > the element remains in place between the earlier iterator > and this one. One way to do this is to ensure that > both iterators are covered by the same rcu_read_lock(), > while others involve reference counts, flags, or mutexes. Sure, will do. Should this comment also be added to list_for_each_continue_rcu()? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: [PATCH] list.h: add list_for_each_entry_continue_rcu
- From: "Paul E. McKenney" <[email protected]>
- Re: [PATCH] list.h: add list_for_each_entry_continue_rcu
- References:
- [PATCH] list.h: add list_for_each_entry_continue_rcu
- From: Johannes Berg <[email protected]>
- Re: [PATCH] list.h: add list_for_each_entry_continue_rcu
- From: "Paul E. McKenney" <[email protected]>
- [PATCH] list.h: add list_for_each_entry_continue_rcu
- Prev by Date: [PATCH 1/2][RESEND] improve generic_file_buffered_write()
- Next by Date: Re: [PATCH 1/2][RESEND] improve generic_file_buffered_write()
- Previous by thread: Re: [PATCH] list.h: add list_for_each_entry_continue_rcu
- Next by thread: Re: [PATCH] list.h: add list_for_each_entry_continue_rcu
- Index(es):