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

2022-09-26 Thread David Marchand
On Thu, Jul 28, 2022 at 8:03 PM Dmitry Kozlyuk wrote: > > 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 s

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

2022-09-26 Thread David Marchand
On Thu, Sep 22, 2022 at 12:52 AM Dmitry Kozlyuk wrote: > > 2022-09-21 15:35 (UTC+0200), David Marchand: > > On Thu, Jul 28, 2022 at 8:03 PM Dmitry Kozlyuk > > wrote: > > > > > > 2022-07-28 14:41 (UTC+0500), Fidaullah Noonari: > > > > The amount of memory to allocate from the system for heap expa

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

2022-09-21 Thread Dmitry Kozlyuk
2022-09-21 15:35 (UTC+0200), David Marchand: > On Thu, Jul 28, 2022 at 8:03 PM Dmitry Kozlyuk > wrote: > > > > 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 tha

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

2022-09-21 Thread David Marchand
On Thu, Jul 28, 2022 at 8:03 PM Dmitry Kozlyuk wrote: > > 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 s

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

2022-07-28 Thread Dmitry Kozlyuk
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 b

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

2022-07-28 Thread 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.