[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cb3d586c5f8b49c18443c6eb2341136a@HQMAIL107.nvidia.com>
Date: Mon, 13 Mar 2017 22:10:56 +0000
From: Krishna Reddy <vdumpa@...dia.com>
To: Jérôme Glisse <jglisse@...hat.com>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
CC: John Hubbard <jhubbard@...dia.com>,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
David Nellans <dnellans@...dia.com>,
"Evgeny Baskakov" <ebaskakov@...dia.com>,
Mark Hairgrove <mhairgrove@...dia.com>,
Sherry Cheung <SCheung@...dia.com>,
Subhash Gutti <sgutti@...dia.com>
Subject: RE: [HMM v17 09/14] mm/hmm/mirror: mirror process address space on
device with HMM helpers
+/*
+ * 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.
Powered by blists - more mailing lists