[PATCH v2] eal: change alloc_sz calculation which may cause unnecessarily allocation

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Thu Jul 28 20:03:27 CEST 2022


2022-07-28 14:41 (UTC+0500), Fidaullah Noonari:
> The amount of memory to allocate from the system for heap expansion
> was calculated in a way that may yield one page more than needed.
> This could hit the allocation limit from the system or EAL.
> The allocation would fail despite enough memory being available.
> 
> In response to mail:
> http://inbox.dpdk.org/dev/CAEYuUWCnRZNwxiOHEeTHw0Gy9aFJRLZtvAG9g=smuUvUEMcFXg@mail.gmail.com/
> 
> Signed-off-by: Fidaullah Noonari <fidaullah.noonari at emumba.com>

Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>


More information about the dev mailing list