Re: [PATCH v2 1/3] mm: revert handling Non-LRU pages returned by follow_page

From: David Hildenbrand
Date: Sun Aug 14 2022 - 12:43:08 EST


On 14.08.22 16:05, Haiyue Wang wrote:
> The commit
> 3218f8712d6b ("mm: handling Non-LRU pages returned by vm_normal_pages")
> doesn't handle the follow_page with flag FOLL_GET correctly, this will
> do get_page on page, it shouldn't just return directly without put_page.
>
> So revert the related fix to prepare for clean patch to handle Non-LRU
> pages returned by follow_page.

What? Why?

Just fix it.

--
Thanks,

David / dhildenb