mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] mm: shall we add an entry in meminfo to show the memory from module?
@ 2016-01-22  7:07 Xishi Qiu
  0 siblings, 0 replies; only message in thread
From: Xishi Qiu @ 2016-01-22  7:07 UTC (permalink / raw)
  To: Linux MM, LKML

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-22  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-22  7:07 [RFC] mm: shall we add an entry in meminfo to show the memory from module? Xishi Qiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome