[ovs-dev] [PATCH 5/7] datapath: Change listing flows to use an iterator concept.

Jesse Gross jesse at nicira.com
Tue Dec 28 18:10:09 UTC 2010


On Tue, Dec 28, 2010 at 12:49 PM, Ben Pfaff <blp at nicira.com> wrote:
> For what it's worth, batching using Netlink will not make the races go
> away.  Given a sufficient number of flows (enough to overflow
> NLMSG_GOODSIZE bytes), the kernel "dump" function will still be called
> repeatedly with locks being released between calls.

Hmm, I suppose that is true.  Hopefully, it should be somewhat more
rare with batching.  Though NLMSG_GOODSIZE is a single page - we're
going to hit that pretty quickly and not just here but with actions as
well.

> (How do I figure out what version of 'sparse' I have?  --version is a
> no-op.)

I'm actually not sure - I only know my version because I still have
the source sticking around.




More information about the dev mailing list