Re: [PATCH] x86, efi: print debug values in Kib not MB

From: David Rientjes
Date: Tue Jul 29 2014 - 18:43:07 EST


On Wed, 30 Jul 2014, Borislav Petkov wrote:

> On Tue, Jul 29, 2014 at 06:32:56PM -0400, Prarit Bhargava wrote:
> > and it was best to keep the code simple with a KiB.
>
> You're missing the point - the output doesn't get simple with KiB. Read
> the example I just gave you!
>
> (13893632kiB) is actively *not* helping when one looks at it!
>

/proc/meminfo must be frustrating then, too.

If Prarit is going to implement this suggested reverse memparse() then it
would be nice to also have it as a generic function that others can use.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/