On Mon, Aug 11, 2025 at 11:36:29AM +0100, Kiryl Shutsemau wrote: > We have 'totalram_pages() < (512 << (20 - PAGE_SHIFT))' check in > hugepage_init(). It can [be abstracted out and] re-used. We can decide to do that at a later date with whatever heuristics we like. Let's just get this merged, it's behind a config flag there's no harm being done here.