At Fri, 26 Jun 2026 14:26:31 +0900, Michael Paquier <michael(at)paquier(dot)xyz> wrote in
> So it seems to me that the mistake is that huge_page_size uses INT_MAX
> as upper bound. We should use MAX_KILOBYTES instead; this definition
> exists to exactly prevent this kind of computation mistake in 32b
> environments.
Ah, you're right. MAX_KILOBYTES exists for exactly this purpose.
Regards,
--
Kyotaro Horiguchi
NTT Open Source Software Center