]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kdb: fix incorrect counts in KDB summary command output
authorJay Lan <jlan@sgi.com>
Mon, 29 Sep 2014 22:36:57 +0000 (15:36 -0700)
committerJiri Slaby <jslaby@suse.cz>
Sun, 1 Mar 2015 22:34:21 +0000 (23:34 +0100)
commit980af92d3ef35388acce34d9cc116b246b70e558
treef3f5eb72fe14fd6f09c8b2580f8da6a0ee26f139
parent71d9abaaf54f07b4d89d0e5c3bf03fee75e961b4
kdb: fix incorrect counts in KDB summary command output

commit 146755923262037fc4c54abc28c04b1103f3cc51 upstream.

The output of KDB 'summary' command should report MemTotal, MemFree
and Buffers output in kB. Current codes report in unit of pages.

A define of K(x) as
is defined in the code, but not used.

This patch would apply the define to convert the values to kB.
Please include me on Cc on replies. I do not subscribe to linux-kernel.

Signed-off-by: Jay Lan <jlan@sgi.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
kernel/debug/kdb/kdb_main.c