|
@@ -24,6 +24,7 @@
|
|
|
#include <linux/tty.h>
|
|
|
#include <linux/string.h>
|
|
|
#include <linux/mman.h>
|
|
|
+#include <linux/quicklist.h>
|
|
|
#include <linux/proc_fs.h>
|
|
|
#include <linux/ioport.h>
|
|
|
#include <linux/mm.h>
|
|
@@ -189,7 +190,8 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
|
|
|
"Committed_AS: %8lu kB\n"
|
|
|
"VmallocTotal: %8lu kB\n"
|
|
|
"VmallocUsed: %8lu kB\n"
|
|
|
- "VmallocChunk: %8lu kB\n",
|
|
|
+ "VmallocChunk: %8lu kB\n"
|
|
|
+ "Quicklists: %8lu kB\n",
|
|
|
K(i.totalram),
|
|
|
K(i.freeram),
|
|
|
K(i.bufferram),
|
|
@@ -221,7 +223,8 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
|
|
|
K(committed),
|
|
|
(unsigned long)VMALLOC_TOTAL >> 10,
|
|
|
vmi.used >> 10,
|
|
|
- vmi.largest_chunk >> 10
|
|
|
+ vmi.largest_chunk >> 10,
|
|
|
+ K(quicklist_total_size())
|
|
|
);
|
|
|
|
|
|
len += hugetlb_report_meminfo(page + len);
|