[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251216171944.GG6079@nvidia.com>
Date: Tue, 16 Dec 2025 13:19:44 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Peter Xu <peterx@...hat.com>
Cc: kvm@...r.kernel.org, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Nico Pache <npache@...hat.com>, Zi Yan <ziy@...dia.com>,
Alex Mastro <amastro@...com>, David Hildenbrand <david@...hat.com>,
Alex Williamson <alex@...zbot.org>, Zhi Wang <zhiw@...dia.com>,
David Laight <david.laight.linux@...il.com>,
Yi Liu <yi.l.liu@...el.com>, Ankit Agrawal <ankita@...dia.com>,
Kevin Tian <kevin.tian@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH v2 2/4] mm: Add file_operations.get_mapping_order()
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
Powered by blists - more mailing lists