[PATCH v11 01/16] set_memory: set_direct_map_* to take address
Nikita Kalyazin
kalyazin at amazon.com
Fri Apr 10 08:24:31 PDT 2026
On 23/03/2026 17:44, David Hildenbrand (Arm) wrote:
> On 3/17/26 15:10, Kalyazin, Nikita wrote:
>> From: Nikita Kalyazin <kalyazin at amazon.com>
>>
>
> Just a nit while reading over it once more: restate what the patch
> subject says.
>
> Like "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."
Done, thanks.
>
>> This is to avoid excessive conversions folio->page->address when adding
>> helpers on top of set_direct_map_valid_noflush() in the next patch.
>>
>> Acked-by: David Hildenbrand (Arm) <david at kernel.org>
>> Signed-off-by: Nikita Kalyazin <kalyazin at amazon.com>
>> ---
>
> --
> Cheers,
>
> David
More information about the linux-riscv
mailing list