Re: [ovs-dev] [PATCH v4 2/5] classifier: Lockless and robust classifier iteration.

2014-11-14 Thread Jarno Rajahalme
On Nov 13, 2014, at 5:11 PM, Ben Pfaff wrote: > On Thu, Nov 13, 2014 at 11:56:14AM -0800, Jarno Rajahalme wrote: >> Previously, accurate iteration required writers to be excluded during >> iteration. This patch adds an rculist to struct cls_subtable, and a >> corresponding list node to struct c

Re: [ovs-dev] [PATCH v4 2/5] classifier: Lockless and robust classifier iteration.

2014-11-13 Thread Ben Pfaff
On Thu, Nov 13, 2014 at 11:56:14AM -0800, Jarno Rajahalme wrote: > Previously, accurate iteration required writers to be excluded during > iteration. This patch adds an rculist to struct cls_subtable, and a > corresponding list node to struct cls_rule, which makes iteration more > straightforward,

[ovs-dev] [PATCH v4 2/5] classifier: Lockless and robust classifier iteration.

2014-11-13 Thread Jarno Rajahalme
Previously, accurate iteration required writers to be excluded during iteration. This patch adds an rculist to struct cls_subtable, and a corresponding list node to struct cls_rule, which makes iteration more straightforward, and allows the iterators to remain ignorant of the internals of the cls_