mm: remove vmacache
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 6 Sep 2022 19:48:51 +0000 (19:48 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 27 Sep 2022 02:46:18 +0000 (19:46 -0700)
commit7964cf8caa4dfa42c4149f3833d3878713cda3dc
tree4d8796756afa9f0b66a1daccea33dc935db687a2
parent4dd1b84140c1b87a89d69a683bebbbdaeb620e39
mm: remove vmacache

By using the maple tree and the maple tree state, the vmacache is no
longer beneficial and is complicating the VMA code.  Remove the vmacache
to reduce the work in keeping it up to date and code complexity.

Link: https://lkml.kernel.org/r/20220906194824.2110408-26-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Tested-by: Yu Zhao <yuzhao@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: SeongJae Park <sj@kernel.org>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
17 files changed:
fs/exec.c
fs/proc/task_mmu.c
include/linux/mm_types.h
include/linux/mm_types_task.h
include/linux/sched.h
include/linux/vm_event_item.h
include/linux/vmacache.h [deleted file]
include/linux/vmstat.h
kernel/debug/debug_core.c
kernel/fork.c
lib/Kconfig.debug
mm/Makefile
mm/debug.c
mm/mmap.c
mm/nommu.c
mm/vmacache.c [deleted file]
mm/vmstat.c