[dpdk-dev] [PATCH v2] support free hugepages

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Oct 30 16:32:07 CET 2014


2014-10-29 13:47, linhaifeng:
> rte_eal_hugepage_free() is used for unlink all hugepages.If you want to
> free all hugepages you must make sure that you have stop to use it,and you
> must call this function before exit process.
> 
> Signed-off-by: linhaifeng <haifeng.lin at huawei.com>

Thanks for raising the need.
There is a discussion in the thread of the first version of this patch.
Neil suggests an automatic clean-up with hugepage refcounting.
It seems to be a good idea.

So this patch won't be integrated as is.

-- 
Thomas


More information about the dev mailing list