On Mon, May 11, 2020 at 06:58:21PM +0000, Luck, Tony wrote: > >> > + pr_err("%lldMB of physical memory is not addressable in the paging mode\n", > >> > + not_addressable >> 20); > >> > >> Is "MB" the right unit for this. The problem seems to happen for systems with >64TB ... I doubt > >> the unaddressable memory is just a couple of MBbytes > > > > Change it to GB? > > I think it would be more readable. > > [Maybe Linux needs a magic %p{something} that does auto-sizing to print in the most appropriate out of KB, MB, GB, TB, PB?] We have one in string_helpers.c. -- With Best Regards, Andy Shevchenko