[dpdk-dev] [PATCH v3 0/2] Various fixes for contigmem

Thomas Monjalon thomas at monjalon.net
Tue Jul 4 01:33:49 CEST 2017


04/06/2017 07:53, Tiwei Bie:
> The vm_page_replace_checked() was introduced in FreeBSD 11, so the
> build is broken on FreeBSD 10. The fix is to use vm_page_replace()
> directly and do the check in caller.
> 
> ---
> 
> v2: destroy the initialized mtx before failing or unloading
> v3: fix build on FreeBSD 10, refine comments
> 
> Tiwei Bie (2):
>   contigmem: free the allocated memory when error occurs
>   contigmem: don't zero the pages during each mmap

Applied, thanks


More information about the dev mailing list