On 25-Feb-19 8:57 PM, Michał Mirosław wrote:
From: Michał Mirosław <michal.miros...@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.miros...@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.bura...@intel.com>

--
Thanks,
Anatoly

Reply via email to