aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRalph Campbell <[email protected]>2019-05-06 16:29:38 -0700
committerJason Gunthorpe <[email protected]>2019-06-06 16:31:40 -0300
commit2076e5c0451ca943ff8ecc6def7239c84c77e070 (patch)
tree064f338a1ee9c4ee8ed0f74fe163459aa7585952 /include/linux
parent1c2308f0f03fdbbc674f53450eaa76943e0506f0 (diff)
mm/hmm: update HMM documentation
Update the HMM documentation to reflect the latest API and make a few minor wording changes. Cc: John Hubbard <[email protected]> Cc: Ira Weiny <[email protected]> Cc: Dan Williams <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Dan Carpenter <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Souptick Joarder <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Ralph Campbell <[email protected]> Reviewed-by: Jérôme Glisse <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hmm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/hmm.h b/include/linux/hmm.h
index 044a36d7c3f8..740bb00853f5 100644
--- a/include/linux/hmm.h
+++ b/include/linux/hmm.h
@@ -418,9 +418,10 @@ struct hmm_mirror_ops {
*
* @mirror: pointer to struct hmm_mirror
*
- * This is called when the mm_struct is being released.
- * The callback should make sure no references to the mirror occur
- * after the callback returns.
+ * This is called when the mm_struct is being released. The callback
+ * must ensure that all access to any pages obtained from this mirror
+ * is halted before the callback returns. All future access should
+ * fault.
*/
void (*release)(struct hmm_mirror *mirror);