Re: [dpdk-dev] [PATCH v5 2/3] mempool: use generic memory management

2020-07-05 Thread Fady Bader
> -Original Message- > From: Dmitry Kozlyuk > Sent: Sunday, July 5, 2020 3:08 PM > To: Fady Bader > Cc: dev@dpdk.org; Thomas Monjalon ; Tasnim Bashar > ; Tal Shnaiderman ; Yohad Tor > ; harini.ramakrish...@microsoft.com; > ocard...@microsoft.com; pallavi.ka...@intel.com; ranjit.me...@i

Re: [dpdk-dev] [PATCH v5 2/3] mempool: use generic memory management

2020-07-05 Thread Dmitry Kozlyuk
On Sun, 5 Jul 2020 14:46:28 +0300, Fady Bader wrote: [snip] > /* populate the mempool with an anonymous mapping */ > @@ -740,20 +741,20 @@ rte_mempool_populate_anon(struct rte_mempool *mp) > } > > /* get chunk of virtually continuous memory */ > - addr = mmap(NULL, size, PROT_RE

Re: [dpdk-dev] [PATCH v5 2/3] mempool: use generic memory management

2020-07-05 Thread Andrew Rybchenko
On 7/5/20 2:46 PM, Fady Bader wrote: > Using generic memory management calls instead of Unix memory management > calls for mempool. > > Signed-off-by: Fady Bader Acked-by: Andrew Rybchenko

[dpdk-dev] [PATCH v5 2/3] mempool: use generic memory management

2020-07-05 Thread Fady Bader
Using generic memory management calls instead of Unix memory management calls for mempool. Signed-off-by: Fady Bader --- lib/librte_mempool/rte_mempool.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_me