Re: [dpdk-dev] [PATCH] EAL: count nr_overcommit_hugepages as available

2019-03-28 Thread Thomas Monjalon
19/03/2019 14:52, Burakov, Anatoly: > On 25-Feb-19 8:57 PM, Michał Mirosław wrote: > > From: Michał Mirosław > > > > With nr_overcommit_hugepages > 0 application may be able to allocate > > hugepages even when free_hugepages == 0. Take this into account when > > counting available hugepages. > >

Re: [dpdk-dev] [PATCH] EAL: count nr_overcommit_hugepages as available

2019-03-19 Thread Burakov, Anatoly
On 25-Feb-19 8:57 PM, Michał Mirosław wrote: From: Michał Mirosław With nr_overcommit_hugepages > 0 application may be able to allocate hugepages even when free_hugepages == 0. Take this into account when counting available hugepages. Signed-off-by: Michał Mirosław --- Surplus pages go back

[dpdk-dev] [PATCH] EAL: count nr_overcommit_hugepages as available

2019-02-25 Thread Michał Mirosław
From: Michał Mirosław With nr_overcommit_hugepages > 0 application may be able to allocate hugepages even when free_hugepages == 0. Take this into account when counting available hugepages. Signed-off-by: Michał Mirosław --- .../linuxapp/eal/eal_hugepage_info.c | 43 ++