[PATCH v3 02/16] mm: add documentation for the mmap_prepare file operation callback
Vlastimil Babka (SUSE)
vbabka at kernel.org
Fri Mar 20 10:23:49 PDT 2026
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) <ljs at kernel.org>
Acked-by: Vlastimil Babka (SUSE) <vbabka at kernel.org>
More information about the linux-afs
mailing list