numam-spdk/test/env
Darek Stojaczyk f4cb6c90b4 memory: register each hotplugged page separately
The problem with registering the entire hotplugged memory
region is that it won't necessarily be unregistered in one
go. Registering each hugepage separately solves that
problem.

This puts a limitation on the number of pages that can
be allocated when using RDMA. We'll hopefully lift this
limitation sometime in future - probably levereging
ibv_rereg_mr, but for now we'll have to resort to either:

 a) using 1GB hugepages
 b) preallocating memory (with [-s|--mem-size <size>] app
    param) as it will be registered as just one region no
    matter what size it is. This memory won't be returned
    to the system until the SPDK app exits.

Change-Id: I6de997fb4901b772730ba6fe995dcc0640b85749
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/428716
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-10-11 18:59:11 +00:00
..
memory memory: register each hotplugged page separately 2018-10-11 18:59:11 +00:00
pci make: Fix test app Makefile dependencies 2018-09-19 15:53:29 +00:00
vtophys ut/memory: refactor mem_map_alloc() tests to CUnit tests 2018-10-11 18:59:11 +00:00
env.sh test: move lib/env up one level 2018-03-29 00:31:24 -04:00
Makefile test/env: split out env_dpdk-specific tests 2018-05-24 21:27:06 +00:00