Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1599875

RE: [HMM v17 09/14] mm/hmm/mirror: mirror process address space on device with HMM helpers

From Krishna Reddy <vdumpa@nvidia.com>
Newsgroups linux.kernel
Subject RE: [HMM v17 09/14] mm/hmm/mirror: mirror process address space on device with HMM helpers
Date 2017-03-13 23:20 +0100
Message-ID <tkGtP-7eV-15@gated-at.bofh.it> (permalink)
References <t4mIO-15A-17@gated-at.bofh.it> <t4mIP-15A-61@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


+/*
+ * struct hmm_mirror_ops - HMM mirror device operations callback
+ *
+ * @update: callback to update range on a device  */ struct 
+hmm_mirror_ops {
+	/* update() - update virtual address range of memory
+	 *
+	 * @mirror: pointer to struct hmm_mirror
+	 * @update: update's type (turn read only, unmap, ...)
+	 * @start: virtual start address of the range to update
+	 * @end: virtual end address of the range to update
.......
+	 */
+	void (*update)(struct hmm_mirror *mirror,
+		       enum hmm_update action,
+		       unsigned long start,
+		       unsigned long end);
+};

minor arg documentation issue. @update should be @action. 

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

RE: [HMM v17 09/14] mm/hmm/mirror: mirror process address space on  device with HMM helpers Krishna Reddy <vdumpa@nvidia.com> - 2017-03-13 23:20 +0100

csiph-web