From 1ad189ae62eb5b69481e9b97c40010e2470a3175 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Tue, 28 Feb 2023 18:27:20 -0800 Subject: [PATCH] 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 --- include/linux/mm_types.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.50.1