Re: [linux-drivers-review] [PATCH] x86/mm: Fix boot with some memory above MAXMEM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux