Linus Torvalds writes: (Summary) Particularly since it's probably just one specific
list where you want this oddly specific behavior.
list where you want this oddly specific behavior.
Also, if we really want a round-robin list traversal macro, this isn't the way it should be implemented, I suspect, and it probably shouldn't be RCU-specific to begin with.
RCU-specific to begin with.
Side note: I notice that I should already have been more critical of even the much simpler "list_next_or_null_rcu()" macro. The "documentation" comment above the macro is pure and utter cut-and-paste garbage.
list where you want this oddly specific behavior.
Also, if we really want a round-robin list traversal macro, this isn't the way it should be implemented, I suspect, and it probably shouldn't be RCU-specific to begin with.
RCU-specific to begin with.
Side note: I notice that I should already have been more critical of even the much simpler "list_next_or_null_rcu()" macro. The "documentation" comment above the macro is pure and utter cut-and-paste garbage.