Re: [PATCH 1/2] mm: Allow architectures to request 'old' entries when prefaulting
From: Kirill A. Shutemov
Date: Fri Dec 25 2020 - 06:38:04 EST
On Wed, Dec 23, 2020 at 08:04:54PM -0800, Hugh Dickins wrote:
> It's not ready yet.
Thanks for the feedback. It's very helpful.
The patch below should address the problems you've found.
The new helper next_page() returns a stablized page, so filemap_map_pmd()
can clearly decide if we should set up a page table or a huge page.
The leak is fixed too.
Could you give it a try?