public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* show_mem producing invalid output
@ 2015-07-10 17:33 Tom Lendacky
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Lendacky @ 2015-07-10 17:33 UTC (permalink / raw)
  To: Vishnu Pratap Singh; +Cc: Linux Kernel Mailing List

Hi Vishnu,

Commit 49abd8c28046 ("lib/show_mem.c: add cma reserved information")
causes the following output (last four lines shown):

...
261888 pages RAM
0 pages HighMem/MovableOnly
18446744073709545533 pages reserved
8192 pages cma reserved

The very large "pages reserved" number is obviously invalid and is
the result of the subtraction in the printk where "reserved" is less
than "totalcma_pages".

This is from an arm64 system.

Thanks,
Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-13 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <47.BF.25195.F5743A55@epcpsbgx4.samsung.com>
2015-07-13 13:36 ` show_mem producing invalid output Tom Lendacky
2015-07-10 17:33 Tom Lendacky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox