On Tue Apr 21, 2026 at 2:43 PM UTC, Lorenzo Stoakes wrote:
> On Fri, Apr 10, 2026 at 03:17:58PM +0000, Kalyazin, Nikita wrote:
>> From: Nikita Kalyazin <[email protected]>
>>
>> Let's convert set_direct_map_*() to take an address instead of a page to
>> prepare for adding helpers that operate on folios; it will be more
>> efficient to convert from a folio directly to an address without going
>> through a page first.

Why is this more efficient? Isn't it a purely compile-time conversion?

Indeed in the current implementation folio_address() is
page_address(&folio->page) so it still goes through a page anyway, no?

I might be missing context here about how this will look in the
memdesc future.

Reply via email to