lkml.org 
[lkml]   [2015]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectshow_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


\
 
 \ /
  Last update: 2015-07-10 20:01    [W:0.058 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site