On 25-Feb-19 8:57 PM, Michał Mirosław wrote:
From: Michał Mirosław <[email protected]>
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 <[email protected]>
---
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 <[email protected]>
--
Thanks,
Anatoly