I tend to agree with Stephen here, although it will break the API/ABI.

 

Another argument supporting its removal is the fact that it has remained 
non-implemented for many years, so a function for dumping information about 
rte_malloc'ed memory using the "type" string for debugging purposes has 
apparently not been in very high demand.

 

Med venlig hilsen / kind regards

- Morten Brørup

 

From: Stephen Hemminger [mailto:step...@networkplumber.org] 
Sent: Saturday, September 14, 2019 8:24 AM
To: Morten Brørup
Subject: Re: [dpdk-dev] The type string in the malloc library is unused

 

I would vote for removing it.

It is too late to implement it without breaking existing code.

 

 

On Fri, Sep 13, 2019, 3:32 PM Morten Brørup <m...@smartsharesystems.com> wrote:

        Hi Anatoly,
        
        
        
        The functions in the DPDK malloc library takes a "type" parameter (a 
string, supposedly for debug purposes), but the underlying malloc_heap 
functions (which take the same string parameter) don't store or use this string 
for anything.
        
        
        
        Is the intention to implement this sometime in the future, or should it 
be considered for removal?
        
        
        

Reply via email to