It seems that this modification ignores some certain cases, for example calling
rte_mempool_create_empty directly, maybe add a new flag bit to indicate
when to put tailq entry into rte_mempool_tailq list is a better way ?
Looking forward to any suggestions.
Thanks.
Fengnan Chang.
changfengnan
fault.
Fix this by put tailq entry into rte_mempool_tailq after populate.
Signed-off-by: changfengnan
---
lib/mempool/rte_mempool.c | 40 +++
1 file changed, 19 insertions(+), 21 deletions(-)
diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c
index
When doing test in spdk, we found a problem: when we try alloc 2048
hugepages for dpdk, sometimes memory init would be fail.
This is some useful log:
EAL: Detected memory type: socket_id:0 hugepage_sz:2097152
EAL: Detected memory type: socket_id:1 hugepage_sz:2097152
EAL: Creating 4 segment lists:
3 matches
Mail list logo