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

2022-07-27 Thread Dmitry Kozlyuk
2022-07-18 09:11 (UTC+0500), Fidaullah Noonari: > In try_expand_heap() alloc_sz is calculated > which may result in unnecessary allocation of whole huge page, > this may cause allocation limit from system or eal Let me suggest a rewording: The amount of memory to allocate from the system for heap

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

2022-07-17 Thread Fidaullah Noonari
In try_expand_heap() alloc_sz is calculated which may result in unnecessary allocation of whole huge page, this may cause allocation limit from system or eal In response to this mail: Signed-off-by: Fidaullah Noonari --- lib/eal/common/malloc_heap.c | 2 +- lib/eal/common/malloc_mp.c | 2 +-