Skip to content

mm: tweaks for improving use of vmap_area

Igor Stoppa linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2struct page: add field for vm_structinclude/linux/mm_types.h mm/vmalloc.c+3 -00 replies
2/2vmalloc: rename llist field in vmap_areainclude/linux/vmalloc.h mm/vmalloc.c+4 -40 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJay FreyenseeMatthew Wilcox
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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 can also be obtained from here:

https://github.com/Igor-security/linux/tree/preparations-for-mm

Igor Stoppa (2):
struct page: add field for vm_struct
vmalloc: rename llist field in vmap_area

 include/linux/mm_types.h | 1 +
 include/linux/vmalloc.h  | 2 +-
 mm/vmalloc.c             | 8 +++++---
 3 files changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
2.14.1