]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Add a pasid member to struct mm_struct
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 15 Sep 2020 16:30:11 +0000 (09:30 -0700)
committerBorislav Petkov <bp@suse.de>
Thu, 17 Sep 2020 18:22:15 +0000 (20:22 +0200)
commit7e3f524322933734cf34b8a15f93920c1d4b8cb7
tree407db74ea1e0bb53a9ead1a3ff3b929fd673838d
parent7f57f189bf10a9cc3769d78cd5e1f5a5b7599c75
mm: Add a pasid member to struct mm_struct

A PASID is shared by all threads in a process. So the logical place to
keep track of it is in the mm_struct. Both ARM and x86 would use this
PASID.

 [ bp: Massage commit message. ]

Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/1600187413-163670-8-git-send-email-fenghua.yu@intel.com
include/linux/mm_types.h