summaryrefslogtreecommitdiffstats
path: root/lib/show_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/show_mem.c')
-rw-r--r--lib/show_mem.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/show_mem.c b/lib/show_mem.c
index 5c86ef4c899f..1c26c14ffbb9 100644
--- a/lib/show_mem.c
+++ b/lib/show_mem.c
@@ -6,7 +6,6 @@
6 */ 6 */
7 7
8#include <linux/mm.h> 8#include <linux/mm.h>
9#include <linux/quicklist.h>
10#include <linux/cma.h> 9#include <linux/cma.h>
11 10
12void show_mem(unsigned int filter, nodemask_t *nodemask) 11void show_mem(unsigned int filter, nodemask_t *nodemask)
@@ -39,10 +38,6 @@ void show_mem(unsigned int filter, nodemask_t *nodemask)
39#ifdef CONFIG_CMA 38#ifdef CONFIG_CMA
40 printk("%lu pages cma reserved\n", totalcma_pages); 39 printk("%lu pages cma reserved\n", totalcma_pages);
41#endif 40#endif
42#ifdef CONFIG_QUICKLIST
43 printk("%lu pages in pagetable cache\n",
44 quicklist_total_size());
45#endif
46#ifdef CONFIG_MEMORY_FAILURE 41#ifdef CONFIG_MEMORY_FAILURE
47 printk("%lu pages hwpoisoned\n", atomic_long_read(&num_poisoned_pages)); 42 printk("%lu pages hwpoisoned\n", atomic_long_read(&num_poisoned_pages));
48#endif 43#endif