On Tue, Apr 28, 2015 at 10:17 AM, Matan Barak <[email protected]> wrote: > On 4/27/2015 9:22 PM, Or Gerlitz wrote: > I think the real question is why to deal with RCUs that will require > re-allocation of entries when it's not necessary or why do we want to use > rwlock if the kernel provides a mechanism (called seqcount) that fits this > problem better? > I disagree about seqcount being complex - if you look at its API you'll find > it's a lot simpler than RCU.
I took a 2nd look, seqcount is indeed way simpler from RCU, and by itself is simple to use if you feel this provides better solution vs. simple rwlock, so I'm good with that. Or. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
