Skip to content

Various fixes for contigmem

Tiwei Bie dpdk-dev 3 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 1 replySuperseded
  3. v12 patches 2 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2contigmem: free the allocated memory when error occurslib/librte_eal/bsdapp/contigmem/contigmem.c+15 -40 replies
2/2contigmem: don't zero the pages during each mmaplib/librte_eal/bsdapp/contigmem/contigmem.c+160 -260 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBruce Richardson
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Various fixes for contigmem

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

 lib/librte_eal/bsdapp/contigmem/contigmem.c | 197 ++++++++++++++++++++++++----
 1 file changed, 171 insertions(+), 26 deletions(-)
Signature · 1 line
2.12.1