Re: [ovs-dev] [RFC PATCH v2 4/7] match: Single malloc minimatch.

2015-07-15 Thread Jarno Rajahalme
Pushed to master, Jarno > On Jul 14, 2015, at 10:16 PM, Ben Pfaff wrote: > > On Fri, Jul 10, 2015 at 10:35:22AM -0700, Jarno Rajahalme wrote: >> Allocate the miniflow and minimask in struct minimatch at once, so >> that they are consecutive in memory. This halves the number of >> allocations

Re: [ovs-dev] [RFC PATCH v2 4/7] match: Single malloc minimatch.

2015-07-14 Thread Ben Pfaff
On Fri, Jul 10, 2015 at 10:35:22AM -0700, Jarno Rajahalme wrote: > Allocate the miniflow and minimask in struct minimatch at once, so > that they are consecutive in memory. This halves the number of > allocations, and allows smaller minimatches to share the same cache > line. > > After this a min