Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

$
0
0
Linus Torvalds writes: (Summary) Once we get to "take the next entry, but skip it if it's the head entry, and then return NULL if you get back to the entry you started with" kind of semantics, an inline function that takes a particular list and has a big comment about *why* you want those semantics for that particular case sounds _much_ better to me than adding some complex "generic" macro for a very very unusual special case.
case.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 1267

Trending Articles