mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] xen/gntdev: do not set VM_PFNMAP
Date: Tue, 3 Apr 2012 17:25:58 +0100	[thread overview]
Message-ID: <alpine.DEB.2.00.1204031724340.15151@kaball-desktop> (raw)
In-Reply-To: <20120403131947.GC12464@phenom.dumpdata.com>

On Tue, 3 Apr 2012, Konrad Rzeszutek Wilk wrote:
> On Tue, Apr 03, 2012 at 12:25:02PM +0100, Stefano Stabellini wrote:
> > Since when we are using the m2p_override it is not true anymore that the
>         ^^^^ - get rid of that.
> > mmap'ed area doesn't have corresponsing struct pages.
> 
> That reads to me as !!do struct page. Which comes out as:
> 
> "m2p_override_* API the mmap-ed are have corresponding struct pages' ?

Yes, indeed: m2p_override_* provides the corresponding struct pages


> > Removing the VM_PFNMAP flag makes get_user_pages work on the mmap'ed user vma.
> > An example test case would be using a Xen userspace block backend
> > (QDISK) on a file on NFS using O_DIRECT.
> > 
> > The patch should be backported back to 2.6.38.
> 
> Add CC: stable@kernel.org then.

I'll resend CCing stable


> But does this patch depend on other
> patches?

only on the m2p_override, that is in Linux since 2.6.38

      reply	other threads:[~2012-04-03 16:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 11:25 Stefano Stabellini
2012-04-03 13:19 ` Konrad Rzeszutek Wilk
2012-04-03 16:25   ` Stefano Stabellini [this message]

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=alpine.DEB.2.00.1204031724340.15151@kaball-desktop \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xensource.com \
    /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

all inboxes | Powered by JetHome®