lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <55A001D0.508@amd.com>
Date:	Fri, 10 Jul 2015 12:33:04 -0500
From:	Tom Lendacky <thomas.lendacky@....com>
To:	Vishnu Pratap Singh <vishnu.ps@...sung.com>
CC:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ