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


Groups > linux.kernel > #1314788

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

From Xishi Qiu <qiuxishi@huawei.com>
Newsgroups linux.kernel
Subject [RFC] mm: shall we add an entry in meminfo to show the memory from module?
Date 2016-01-22 08:10 +0100
Message-ID <qTE14-BU-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[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

csiph-web