> The page fault heuristic is just way too aggressive because there's no > indication of how much memory will be used. I don't think it makes sense > to do it without an explicit MADV_NOHUGEPAGE. Collapsing only dense > ranges doesn't have the same risk. Er, without an explicit MADV_HUGEPAGE*.