From: Christoph Hellwig <hch@infradead.org>
To: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Cc: davide rossetti <davide.rossetti@gmail.com>,
Haggai Eran <haggaie@mellanox.com>,
Kovalyov Artemy <artemyko@mellanox.com>,
"dledford@redhat.com" <dledford@redhat.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"leon@leon.ro" <leon@leon.ro>, Sagi Grimberg <sagig@mellanox.com>
Subject: Re: [RFC 0/7] Peer-direct memory
Date: Wed, 17 Feb 2016 00:49:59 -0800 [thread overview]
Message-ID: <20160217084959.GB13616@infradead.org> (raw)
In-Reply-To: <20160217044417.GA25049@obsidianresearch.com>
On Tue, Feb 16, 2016 at 09:44:17PM -0700, Jason Gunthorpe wrote:
> On Tue, Feb 16, 2016 at 08:13:58PM -0800, davide rossetti wrote:
>
> > Bottom line is, BAR mappings are not like plain memory.
>
> As I understand it the actual use of this in fact when user space
> manages to map BAR memory into it's address space and attempts to do DMA
> from it. So, I'm not sure I agree at all with this assement.
>
> ie I gather with NVMe the desire is this could happen through the
> filesystem with the right open/mmap flags.
Lot's of confusion here. NVMe is a block device interface - there
is not real point in mapping anything in there to userspace unless
you use an entirely userspace driver through the normal userspace
PCI driver interface. For pmem (which some people confusingly call
NVM) mapping the byte addressable persistent memory to userspace using
DAX makes a lot of sense, and a lot of work around that is going
on currently.
For NVMe 1.2 there is a new feature called the controller memory
buffer, which basically is a giant BAR that can be used instead
of host memory for the submission and completion queues of the
device, as well as for actual data sent to and reived from the device.
Some people are tlaking about using this as the target of RDMA
operations, but I don't think this patch series would be anywhere
near useful for this mode of operation.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2016-02-17 8:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1455207177-11949-1-git-send-email-artemyko@mellanox.com>
[not found] ` <20160211191838.GA23675@obsidianresearch.com>
2016-02-14 14:27 ` [RFC 0/7] Peer-direct memory Haggai Eran
2016-02-16 18:22 ` Jason Gunthorpe
2016-02-17 4:03 ` davide rossetti
2016-02-17 4:13 ` davide rossetti
2016-02-17 4:44 ` Jason Gunthorpe
2016-02-17 8:49 ` Christoph Hellwig [this message]
2016-02-18 17:12 ` Jason Gunthorpe
2016-02-17 8:44 ` Christoph Hellwig
2016-02-17 15:25 ` Haggai Eran
2016-02-19 18:54 ` Dan Williams
[not found] ` <20160212201328.GA14122@infradead.org>
[not found] ` <20160212203649.GA10540@obsidianresearch.com>
[not found] ` <56C09C7E.4060808@dev.mellanox.co.il>
[not found] ` <36F6EBABA23FEF4391AF72944D228901EB70C102@BBYEXM01.pmc-sierra.internal>
2016-02-21 9:06 ` Haggai Eran
2016-02-24 23:45 ` Stephen Bates
2016-02-25 11:27 ` Haggai Eran
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=20160217084959.GB13616@infradead.org \
--to=hch@infradead.org \
--cc=artemyko@mellanox.com \
--cc=davide.rossetti@gmail.com \
--cc=dledford@redhat.com \
--cc=haggaie@mellanox.com \
--cc=jgunthorpe@obsidianresearch.com \
--cc=leon@leon.ro \
--cc=linux-mm@kvack.org \
--cc=linux-rdma@vger.kernel.org \
--cc=sagig@mellanox.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;
as well as URLs for NNTP newsgroup(s).