diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-24 19:10:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-24 19:10:23 -0400 |
commit | 9c9fa97a8edbc3668dfc7a25de516e80c146e86f (patch) | |
tree | 2dc0e90203796a4b346ce190f9521c3294104058 /lib/show_mem.c | |
parent | 5184d449600f501a8688069f35c138c6b3bf8b94 (diff) | |
parent | 2b38d01b4de8b1bbda7f5f7e91252609557635fc (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge updates from Andrew Morton:
- a few hot fixes
- ocfs2 updates
- almost all of -mm (slab-generic, slab, slub, kmemleak, kasan,
cleanups, debug, pagecache, memcg, gup, pagemap, memory-hotplug,
sparsemem, vmalloc, initialization, z3fold, compaction, mempolicy,
oom-kill, hugetlb, migration, thp, mmap, madvise, shmem, zswap,
zsmalloc)
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (132 commits)
mm/zsmalloc.c: fix a -Wunused-function warning
zswap: do not map same object twice
zswap: use movable memory if zpool support allocate movable memory
zpool: add malloc_support_movable to zpool_driver
shmem: fix obsolete comment in shmem_getpage_gfp()
mm/madvise: reduce code duplication in error handling paths
mm: mmap: increase sockets maximum memory size pgoff for 32bits
mm/mmap.c: refine find_vma_prev() with rb_last()
riscv: make mmap allocation top-down by default
mips: use generic mmap top-down layout and brk randomization
mips: replace arch specific way to determine 32bit task with generic version
mips: adjust brk randomization offset to fit generic version
mips: use STACK_TOP when computing mmap base address
mips: properly account for stack randomization and stack guard gap
arm: use generic mmap top-down layout and brk randomization
arm: use STACK_TOP when computing mmap base address
arm: properly account for stack randomization and stack guard gap
arm64, mm: make randomization selected by generic topdown mmap layout
arm64, mm: move generic mmap layout functions to mm
arm64: consider stack randomization for mmap base only when necessary
...
Diffstat (limited to 'lib/show_mem.c')
-rw-r--r-- | lib/show_mem.c | 5 |
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 | ||
12 | void show_mem(unsigned int filter, nodemask_t *nodemask) | 11 | void 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 |