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

Burakov, Anatoly anatoly.burakov at intel.com
Tue Mar 19 14:52:15 CET 2019

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>


More information about the dev mailing list