[<prev] [next>] [day] [month] [year] [list]
Message-ID: <56A1D52B.6060002@huawei.com>
Date: Fri, 22 Jan 2016 15:07:23 +0800
From: Xishi Qiu <qiuxishi@...wei.com>
To: Linux MM <linux-mm@...ck.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [RFC] mm: shall we add an entry in meminfo to show the memory from
module?
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
Powered by blists - more mailing lists