Added a method to get near real physical memory
MemTotal in /proc/meminfo would display total
usable memory(i.e. physical ram minus a few reserved
bits and the kernel binary code)
So, this method helps to report actual memory size according
to online-memory blocks available via "/sys"
Signed-off-by: NSatheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录