linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko@kernel.org>
To: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org
Cc: Dave Hansen <dave.hansen@linux.intel.com>,
	Nathaniel McCallum <nathaniel@profian.com>,
	Reinette Chatre <reinette.chatre@intel.com>,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH RFC v2 1/3] mm: Add f_op->populate() for populating memory outside of core mm
Date: Tue, 8 Mar 2022 13:16:34 +0200	[thread overview]
Message-ID: <Yic7Ep2tOdq/oXPt@iki.fi> (raw)
In-Reply-To: <20220308111003.257351-2-jarkko@kernel.org>

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


  reply	other threads:[~2022-03-08 11:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-08 11:10 [PATCH RFC v2 0/3] MAP_POPULATE for device memory Jarkko Sakkinen
2022-03-08 11:10 ` [PATCH RFC v2 1/3] mm: Add f_op->populate() for populating memory outside of core mm Jarkko Sakkinen
2022-03-08 11:16   ` Jarkko Sakkinen [this message]
2022-03-08 11:10 ` [PATCH RFC v2 2/3] x86/sgx: Export sgx_encl_page_alloc() Jarkko Sakkinen
2022-03-08 11:10 ` [PATCH RFC v2 3/3] x86/sgx: Implement EAUG population with MAP_POPULATE Jarkko Sakkinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yic7Ep2tOdq/oXPt@iki.fi \
    --to=jarkko@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-sgx@vger.kernel.org \
    --cc=nathaniel@profian.com \
    --cc=reinette.chatre@intel.com \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox