linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm: tweaks for improving use of vmap_area
@ 2018-04-26 23:42 Igor Stoppa
  2018-04-26 23:42 ` [PATCH 1/2] struct page: add field for vm_struct Igor Stoppa
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Igor Stoppa @ 2018-04-26 23:42 UTC (permalink / raw)
  To: willy, mhocko, akpm, linux-mm; +Cc: linux-kernel, igor.stoppa

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

-- 
2.14.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-02  0:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-26 23:42 [PATCH 0/2] mm: tweaks for improving use of vmap_area Igor Stoppa
2018-04-26 23:42 ` [PATCH 1/2] struct page: add field for vm_struct Igor Stoppa
2018-04-26 23:42 ` [PATCH 2/2] vmalloc: rename llist field in vmap_area Igor Stoppa
2018-04-30 23:15 ` [PATCH 0/2] mm: tweaks for improving use of vmap_area Andrew Morton
2018-05-02  0:05   ` Igor Stoppa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).