[dpdk-dev] [PATCH 1/2] memalloc: do not leave unmapped holes in EAL virtual memory area
Burakov, Anatoly
anatoly.burakov at intel.com
Fri Jun 1 16:59:42 CEST 2018
>> Page size shouldn't be zero, should be alloc_sz.
>
> The 0 above is for the `flags` parameter. Page size is set to alloc_sz.
>
> ```
> void *
> eal_get_virtual_area(void *requested_addr, size_t *size,
> size_t page_sz, int flags, int mmap_flags);
> ```
>
> I believe it's okay. Correct me if I'm wrong.
Apologies, you're right. I misread the code.
--
Thanks,
Anatoly
More information about the dev
mailing list