On Thu, Oct 14, 2021 at 11:31 AM Harman Kalra <hka...@marvell.com> wrote:
> If we are making it automatic detection, shall we now even have argument to 
> this alloc API?
> I added a flags argument (32 bit) in latest series where each bit of this 
> flag can be an allocation capability.
> I used two bits for discriminating between glibc malloc and rte_malloc. Shall 
> we keep it or drop it?
>
> David, Dmitry please share your thoughts.

I don't have ideas of how we would extend allocations of such object,
so I am unsure.

In doubt, I would keep this flags field, and validate it's always 0
(as mentioned in my reply on ABI).


-- 
David Marchand

Reply via email to