Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1314788 > unrolled thread

[RFC] mm: shall we add an entry in meminfo to show the memory from module?

Started byXishi Qiu <qiuxishi@huawei.com>
First post2016-01-22 08:10 +0100
Last post2016-01-22 08:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [RFC] mm: shall we add an entry in meminfo to show the memory from  module? Xishi Qiu <qiuxishi@huawei.com> - 2016-01-22 08:10 +0100

#1314788 — [RFC] mm: shall we add an entry in meminfo to show the memory from module?

FromXishi Qiu <qiuxishi@huawei.com>
Date2016-01-22 08:10 +0100
Subject[RFC] mm: shall we add an entry in meminfo to show the memory from module?
Message-ID<qTE14-BU-11@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web