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