Re: [PATCH 0/2] mm: tweaks for improving use of vmap_area

From: Andrew Morton
Date: Mon Apr 30 2018 - 19:15:25 EST


On Fri, 27 Apr 2018 03:42:41 +0400 Igor Stoppa <igor.stoppa@xxxxxxxxx> wrote:

> These two patches were written in preparation for the creation of
> protectable memory, however their use is not limited to pmalloc and can
> improve the use of virtally contigous memory.
>
> The first provides a faster path from struct page to the vm_struct that
> tracks it.
>
> The second patch renames a single linked list field inside of vmap_area.
> The list is currently used only for disposing of the data structure, once
> it is not in use anymore.
> Which means that it cold be used for other purposes while it'not queued
> for destruction.

The patches look benign to me (feel free to add my ack), but I'm not
seeing a reason to apply them at this time?