Re: [dpdk-dev] [PATCH v6 01/21] mem: add length to memseg list

2018-09-27 Thread Shreyansh Jain
On Thursday 27 September 2018 04:10 PM, Anatoly Burakov wrote: Previously, to calculate length of memory area covered by a memseg list, we would've needed to multiply page size by length of fbarray backing that memseg list. This is not obvious and unnecessarily low level, so store length in the m

[dpdk-dev] [PATCH v6 01/21] mem: add length to memseg list

2018-09-27 Thread Anatoly Burakov
Previously, to calculate length of memory area covered by a memseg list, we would've needed to multiply page size by length of fbarray backing that memseg list. This is not obvious and unnecessarily low level, so store length in the memseg list itself. Signed-off-by: Anatoly Burakov --- drivers/