[RFC] mm: shall we add an entry in meminfo to show the memory from module?
From: Xishi Qiu
Date: Fri Jan 22 2016 - 02:08:03 EST
Currently /proc/meminfo will not show the memory from module.
This entry "VmallocUsed: xxx" only shows the memory in the range
[VMALLOC_START, VMALLOC_END] alloced by vmalloc() ->... -> __vmalloc_node_range().
The memory which used by module is from module_alloc() -> __vmalloc_node_range().
So we will miss some memory when we calculate the total in meminfo.
Thanks,
Xishi Qiu