Re: [PATCH 0/7] Record the mm_struct in the page table pages

From: Kirill A. Shutemov
Date: Tue Apr 28 2020 - 20:26:33 EST


On Tue, Apr 28, 2020 at 12:44:42PM -0700, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
>
> Pages which are in use as page tables have some space unused in struct
> page. It would be handy to have a pointer to the struct mm_struct that
> they belong to so that we can handle uncorrectable errors in page tables
> more gracefully. There are a few other things we could use it for too,
> such as checking that the page table entry actually belongs to the task
> we think it ought to. This patch series does none of that, but does
> lay the groundwork for it.
>
> Matthew Wilcox (Oracle) (7):

How does it work for kernel side of virtual address space?

And your employer may be interested in semantics around
CONFIG_ARCH_WANT_HUGE_PMD_SHARE :P

--
Kirill A. Shutemov