[PATCH v6 02/14] mm: handling Non-LRU pages returned by vm_normal_pages

Sierra Guiza, Alejandro (Alex) alex.sierra at amd.com
Wed Jun 29 03:56:33 UTC 2022


On 6/28/2022 5:42 AM, David Hildenbrand wrote:
> On 28.06.22 02:14, Alex Sierra wrote:
>> With DEVICE_COHERENT, we'll soon have vm_normal_pages() return
>> device-managed anonymous pages that are not LRU pages. Although they
>> behave like normal pages for purposes of mapping in CPU page, and for
>> COW. They do not support LRU lists, NUMA migration or THP.
>>
>> We also introduced a FOLL_LRU flag that adds the same behaviour to
>> follow_page and related APIs, to allow callers to specify that they
>> expect to put pages on an LRU list.
>>
>> Signed-off-by: Alex Sierra <alex.sierra at amd.com>
>> Acked-by: Felix Kuehling <Felix.Kuehling at amd.com>
>> Reviewed-by: Alistair Popple <apopple at nvidia.com>
>> ---
> I think my review feedback regarding FOLL_LRU has been ignored.

Sorry David, this has been addressed in v7.

Regards,
Alex Sierra

>
>


More information about the amd-gfx mailing list