Re: [PATCH RFC v2 1/3] mm: Add f_op->populate() for populating memory outside of core mm

From: Jarkko Sakkinen
Date: Tue Mar 08 2022 - 06:17:20 EST


On Tue, Mar 08, 2022 at 01:10:01PM +0200, Jarkko Sakkinen wrote:
> @@ -1619,8 +1622,6 @@ int __mm_populate(unsigned long start, unsigned long len, int ignore_errors)
> * range with the first VMA. Also, skip undesirable VMA types.
> */
> nend = min(end, vma->vm_end);
> - if (vma->vm_flags & (VM_IO | VM_PFNMAP))
> - continue;
> if (nstart < vma->vm_start)
> nstart = vma->vm_start;
> /*

This was unintended, i.e. leaked into patch by mistake. I'll send an
update. There was one diff missing from staging area.

BR, Jarkko