Re: [RFC PATCH 00/12] RCU'ify the net:sched classifier chains
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2014-01-12 14:18:10
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2014-01-12 14:18:10
On 01/12/14 08:57, Jamal Hadi Salim wrote:
I looked and here's a general question: Does even using RCU make any sense here? What we have is a lot of updates and very very little reads (reads essentially are done from the control side; the data path is is all about updates). I am not sure if RCU is a win in such a case - it could make things worse. At least that used to be the Truth(tm) many moons back. Is that not the case anymore?
Never mind. You are not trying to make stats rcu - rather the list of filters and actions (which is read mostly from data path). Looking at the u32 piece - i think this is in the right direction. Good stuff John! cheers, jamal