> This looks like an off-by-one error here and in the code below -- it
True good point. Although it will only matter if some architecture
has MAX_ORDER sized huge pages :) x86-64 definitely hasn't.
I passed this code over to Nick so he'll hopefully incorporate the fix.
-Andi
--