]> www.infradead.org Git - users/willy/linux.git/commit
mshare: Basic page table sharing support
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 11 Aug 2020 20:14:43 +0000 (16:14 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 11 Aug 2020 20:14:43 +0000 (16:14 -0400)
commit12b7669e02d0717bd3d269c32f58f25a64d26646
tree4abc7f2ea5830a252715f1f021c0fa50da678259
parentad6f463cc4b9ebd7b7e8ed3b40a6911088f8443a
mshare: Basic page table sharing support

There are many bugs with this; in particular the kernel will hit
a VM_BUG_ON_PAGE if a page table is shared as its refcount will be
decremented to 0.  Also we don't currently reparent VMAs to the
newly created MM.  And the refcount on the MM isn't maintained.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/mm.h
include/trace/events/mmflags.h
mm/internal.h
mm/memory.c
mm/mshare.c