Messages in this thread | | | Date | Fri, 10 Jul 2015 12:33:04 -0500 | From | Tom Lendacky <> | Subject | show_mem producing invalid output |
| |
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
| |