Re: [PATCH v4 24/66] mm: Remove vmacache
From: Vlastimil Babka
Date: Mon Jan 17 2022 - 12:03:33 EST
On 12/1/21 15:30, Liam Howlett wrote:
> From: "Liam R. Howlett" <Liam.Howlett@xxxxxxxxxx>
>
> 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.
>
> Signed-off-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>
Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
"git grep -i vmacache" found these leftovers:
include/linux/mm_types_task.h:#define VMACACHE_BITS 2
include/linux/mm_types_task.h:#define VMACACHE_SIZE (1U << VMACACHE_BITS)
include/linux/mm_types_task.h:#define VMACACHE_MASK (VMACACHE_SIZE - 1)