aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2018-06-07 17:09:32 -0700
committerLinus Torvalds <[email protected]>2018-06-07 17:34:38 -0700
commitdaa280753cefa692607190852a98a9c06ae9ec9a (patch)
tree7781b91dd6a9c1f68fcc22b29a4b111747465c28 /lib/mpi/mpiutil.c
parent7810e6781e0fcbca78b91cf65053f895bf59e85f (diff)
mm/shmem.c: zero out unused vma fields in shmem_pseudo_vma_init()
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. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Kirill A. Shutemov <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions