Re: [ovs-dev] [PATCH 4/4] util: Use posix_memalign for xmalloc_cacheline if available

2014-05-04 Thread Ben Pfaff
On Sat, May 03, 2014 at 09:01:04AM +0900, YAMAMOTO Takashi wrote: > A malloc library is expected to provide a better implementation > using the knowledge of its internal details. > > Signed-off-by: YAMAMOTO Takashi I'm happy with patches 2-4 (once we finish the related discussion in patch 1), bu

[ovs-dev] [PATCH 4/4] util: Use posix_memalign for xmalloc_cacheline if available

2014-05-02 Thread YAMAMOTO Takashi
A malloc library is expected to provide a better implementation using the knowledge of its internal details. Signed-off-by: YAMAMOTO Takashi --- lib/util.c | 17 + 1 file changed, 17 insertions(+) diff --git a/lib/util.c b/lib/util.c index 464d730..37d2ba0 100644 --- a/lib/util.