malloc: make join elements function public
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 11 Apr 2018 12:29:41 +0000 (13:29 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 17:38:08 +0000 (19:38 +0200)
commitf21aa4ec9dffde2f313bba2cb477c1bdf2cbc93e
tree2bbc05e4027ef4e35c1ceab9047b0c0e830e0c4f
parent180698a82c65f40156e8fe2613ce9f9e32f0a1bf
malloc: make join elements function public

Down the line, we will need to join free segments to determine
whether the resulting contiguous free space is bigger than a
page size, allowing to free some memory back to the system.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Tested-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Tested-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
lib/librte_eal/common/malloc_elem.c
lib/librte_eal/common/malloc_elem.h