Regarding the value for LargePageMinimum, why should it be attempted to determined from Linux somehow? Linux doesn't give much of explicit control for large pages, and we should care more about what Windows gives here as that what apps will expect. I guess we'd be better off with testing the value on Windows (which is probably just constant?) and use that one. Then, how exactly to back that with actual THPs is beyond our control (we can only hint with madvise whether to use huge pages or not).