From: Suren Baghdasaryan Date: Wed, 1 Mar 2023 02:27:20 +0000 (-0800) Subject: mm: document FAULT_FLAG_VMA_LOCK flag X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1ad189ae62eb5b69481e9b97c40010e2470a3175;p=users%2Fjedix%2Flinux-maple.git mm: document FAULT_FLAG_VMA_LOCK flag FAULT_FLAG_VMA_LOCK flag was introduced without proper description. Fix this by documenting it. Link: https://lkml.kernel.org/r/20230301022720.1380780-2-surenb@google.com Fixes: 863be34fc093 ("mm: add FAULT_FLAG_VMA_LOCK flag") Signed-off-by: Suren Baghdasaryan Reported-by: Stephen Rothwell Link: https://lore.kernel.org/all/20230301113648.7c279865@canb.auug.org.au/ Cc: Dan Carpenter Cc: David Hildenbrand Cc: David Howells Cc: Hugh Dickins Cc: Jason Gunthorpe Cc: Laurent Dufour Cc: Liam R. Howlett Cc: Mathieu Desnoyers Cc: Matthew Wilcox Cc: Pavel Tatashin Cc: Yu Zhao Signed-off-by: Andrew Morton --- diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 24a14ab42eef..ae0e93a84013 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -1055,6 +1055,7 @@ typedef struct { * mapped after the fault. * @FAULT_FLAG_ORIG_PTE_VALID: whether the fault has vmf->orig_pte cached. * We should only access orig_pte if this flag set. + * @FAULT_FLAG_VMA_LOCK: The fault is handled under VMA lock. * * About @FAULT_FLAG_ALLOW_RETRY and @FAULT_FLAG_TRIED: we can specify * whether we would allow page faults to retry by specifying these two