Re: [PATCH v2 2/4] mm: Add file_operations.get_mapping_order()
From: Jason Gunthorpe
Date: Tue Dec 16 2025 - 12:23:28 EST
On Tue, Dec 16, 2025 at 10:42:39AM -0500, Peter Xu wrote:
> Also see __thp_get_unmapped_area() processed such pgoff, it allocates VA
> with len_pad (not len), and pad the retval at last.
>
> Please let me know if it didn't work like it, then it might be a bug.
It should all be documented then in the kdoc for the new ops, in this
kind of language that the resulting VA flows from pgoff
Jason