[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9de7d9d1-3469-c315-ce47-0faa67a4e4c4@deltatee.com>
Date: Thu, 1 Mar 2018 17:03:09 -0700
From: Logan Gunthorpe <logang@...tatee.com>
To: Stephen Bates <sbates@...thlin.com>,
Keith Busch <keith.busch@...el.com>
Cc: Jason Gunthorpe <jgg@...pe.ca>, Sagi Grimberg <sagi@...mberg.me>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Max Gurtovoy <maxg@...lanox.com>,
Dan Williams <dan.j.williams@...el.com>,
Jérôme Glisse <jglisse@...hat.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Alex Williamson <alex.williamson@...hat.com>,
Steve Wise <swise@...ngridcomputing.com>
Subject: Re: [PATCH v2 10/10] nvmet: Optionally use PCI P2P memory
On 01/03/18 04:57 PM, Stephen Bates wrote:
>> We don't want to lump these all together without knowing which region you're allocating from, right?
>
> In all seriousness I do agree with you on these Keith in the long term. We would consider adding property flags for the memory as it is added to the p2p core and then the allocator could evolve to intelligently dish it out. Attributes like endurance, latency and special write commit requirements could all become attributes in time. Perhaps one more reason for a central entity for p2p memory allocation so this code does not end up having to go into many different drivers?
Ugh, I don't know... An allocator for PMR is going to be quite a
different animal. It would probably need to look more like a filesystem
given you'd need to access the same regions across reboots. I don't
think it fits the p2pmem paradigm at all. I think it's something
entirely new all together and who knows exactly what it will look like.
Logan
Powered by blists - more mailing lists