Re: [lng-odp] [API-NEXT PATCHv6 1/6] linux-gen: _ishm: adding buddy and slab allocation

2017-01-12 Thread Christophe Milard
Just note that the pool stuff is only exposed to the south (DRV) interface so far, as I need it there. I actually raised the case (a long time ago) for having it on the north side with very little traction. As I mentioned, I think this will change if we start caring about the "process-mode" as I ex

Re: [lng-odp] [API-NEXT PATCHv6 1/6] linux-gen: _ishm: adding buddy and slab allocation

2017-01-12 Thread Yi He
Thanks Christophe for the explanation Every ODP thread can individually creates ishmpools for small memory allocation, that's convenient. I'll read into platform/linux-generic/_ishm.c. as you suggested to understand the impl. Thanks and best regards, Yi On 12 January 2017 at 18:50, Christophe Mi

[lng-odp] [API-NEXT PATCHv6 1/6] linux-gen: _ishm: adding buddy and slab allocation

2017-01-12 Thread Christophe Milard
_ishm now provides functions to create/destroy pools for buddy/slab memory allocation, as well as functions to allocated/release memory from the created pools. Signed-off-by: Christophe Milard --- platform/linux-generic/Makefile.am | 2 + platform/linux-generic/_ishm.c