[dpdk-dev] [PATCH] EAL: count nr_overcommit_hugepages as available
thomas at monjalon.net
Thu Mar 28 23:43:31 CET 2019
19/03/2019 14:52, Burakov, Anatoly:
> On 25-Feb-19 8:57 PM, Michał Mirosław wrote:
> > From: Michał Mirosław <michal.miroslaw at atendesoftware.pl>
> > 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 <michal.miroslaw at atendesoftware.pl>
> > ---
> Surplus pages go back at least as far as 2009, and as far as i can tell,
> the patch works under any conditions i thought to throw at it, and
> doesn't break anything else. So...
> Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
And thanks Ferruh for reminding to update this very old patch.
More information about the dev