Allow using virtio-user without hugepages
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 7 repliesApplied
- v25 patches 3 repliesSuperseded
- v12 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Clarify doc changes
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mem: fix error code for segment fd API for external segsdoc/ lib/ | +18 | 1 reply | |
| 2/5 | memalloc: check for memfd support in segment fd APIdoc/ lib/ | +34 | 1 reply | |
| 3/5 | memalloc: allow setting up segment list fd'slib/ lib/ lib/ | +36 | 1 reply | |
| 4/5 | mem: use memfd for no-huge modedoc/ lib/ | +57 | 2 replies | |
| 5/5 | test: add segment fd API testtest/ | +43 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Tiwei Bie | Maxime Coquelin |
|---|---|---|
| 1/5 | A-b | R-b |
| 2/5 | A-b | R-b |
| 3/5 | A-b | R-b |
| 4/5 | A-b | R-b |
| 5/5 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] Allow using virtio-user without hugepages
It is already possible to use both DPDK in general and virtio-user specifically, without hugetlbfs mounts, but currently virtio-user cannot be used without hugepage memory (i.e. with a --no-huge EAL switch) due to the fact that it needs to share memory with the backend.
This patchset uses memfd to create actual files backing anonymous memory. This enabled virtio-user to work not only without hugetlbfs (which was already possible), but without hugepages altogether, which could be useful in Cloud Native scenarios.
v3:
- Clarify doc changes
v2:
- Fixed segment fd list not being initialized
- Added some segment fd API fixes
- Added unit test for segment fd API
Anatoly Burakov (5):
mem: fix error code for segment fd API for external segs
memalloc: check for memfd support in segment fd API
memalloc: allow setting up segment list fd's
mem: use memfd for no-huge mode
test: add segment fd API test
doc/guides/rel_notes/release_19_02.rst | 13 +++++ lib/librte_eal/bsdapp/eal/eal_memalloc.c | 6 ++ lib/librte_eal/common/eal_common_memory.c | 12 ++++ lib/librte_eal/common/eal_memalloc.h | 4 ++ lib/librte_eal/linuxapp/eal/eal_memalloc.c | 66 +++++++++++++++++++--- lib/librte_eal/linuxapp/eal/eal_memory.c | 54 +++++++++++++++++- test/test/test_memory.c | 43 ++++++++++++++ 7 files changed, 188 insertions(+), 10 deletions(-)
Signature · 1 line
2.17.1