Various fixes for contigmem
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyApplied
- v22 patches 1 replySuperseded
- v12 patches 2 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | contigmem: free the allocated memory when error occurslib/ | +15 | 0 replies | |
| 2/2 | contigmem: don't zero the pages during each mmaplib/ | +160 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Bruce Richardson |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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