Messages in this thread | | | Date | Thu, 31 May 2018 16:37:10 -0700 (PDT) | From | Hugh Dickins <> | Subject | Re: [PATCH] mm/shmem: Zero out unused vma fields in shmem_pseudo_vma_init() |
| |
On Thu, 31 May 2018, Andrew Morton wrote: > On Thu, 31 May 2018 16:56:02 +0300 "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> wrote: > > > shmem/tmpfs uses pseudo vma to allocate page with correct NUMA policy. > > > > The pseudo vma doesn't have vm_page_prot set. We are going to encode > > encryption KeyID in vm_page_prot. Having garbage there causes problems. > > > > Zero out all unused fields in the pseudo vma. > > > > So there are no known problems in the current mainline kernel?
Correct - if we limit ourselves to the area of the shmem pseudo-vma :)
Hugh
| |