[PATCH v4 24/66] mm: Remove vmacache

Vlastimil Babka vbabka at suse.cz
Mon Jan 17 09:01:48 PST 2022


On 12/1/21 15:30, Liam Howlett wrote:
> From: "Liam R. Howlett" <Liam.Howlett at Oracle.com>
> 
> 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 at Oracle.com>

Acked-by: Vlastimil Babka <vbabka at suse.cz>

"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)




More information about the maple-tree mailing list