(In reply to Daniel Wagner from comment #14) > Ah Thorsten Leemhuise corrected himself, it seems to be > > 4ef9ad19e17676 ("mm: huge_memory: don't force huge page alignment on 32 > bit") > > but according some testing by the Arch folks it is not a complete fix. I can see how this can over consume on thread's stacks because those are usually 2MB in size by default (by glibs) and the alignment would make it more likely THP target. I do not see THP would consume all the additional memory, though. Runtime overhead is likely a more likely visible effect. That being said. No objection to taking the patch from my end.