Re: [PATCH v3 02/16] mm: add documentation for the mmap_prepare file operation callback
"Vlastimil Babka (SUSE)" <[email protected]>
| Newsgroups | org.kernel.vger.target-devel,dev.linux.lists.linux-staging,org.infradead.lists.linux-mtd,org.kernel.vger.linux-doc,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-hyperv,org.kernel.vger.linux-kernel,org.kernel.vger.linux-scsi,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On 3/19/26 19:23, Lorenzo Stoakes (Oracle) wrote: > This documentation makes it easier for a driver/file system implementer to > correctly use this callback. > > It covers the fundamentals, whilst intentionally leaving the less lovely > possible actions one might take undocumented (for instance - the > success_hook, error_hook fields in mmap_action). > > The document also covers the new VMA flags implementation which is the > only one which will work correctly with mmap_prepare. > > Signed-off-by: Lorenzo Stoakes (Oracle) <[email protected]> Acked-by: Vlastimil Babka (SUSE) <[email protected]>