Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1211210
| From | Dan Williams <dan.j.williams@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH 1/7] x86, mm: ZONE_DEVICE for "device memory" |
| Date | 2015-08-21 17:10 +0200 |
| Message-ID | <pZW78-7dY-39@gated-at.bofh.it> (permalink) |
| References | <pWRQl-8uz-3@gated-at.bofh.it> <pWRQl-8uz-1@gated-at.bofh.it> <pXuRI-5Qe-17@gated-at.bofh.it> <pXvb3-6cV-3@gated-at.bofh.it> <pXFDr-5g2-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[ Adding David Woodhouse ] On Sat, Aug 15, 2015 at 1:59 AM, Christoph Hellwig <hch@lst.de> wrote: > On Fri, Aug 14, 2015 at 02:52:15PM -0700, Dan Williams wrote: >> The idea is that this memory is not meant to be available to the page >> allocator and should not count as new memory capacity. We're only >> hotplugging it to get struct page coverage. > > This might need a bigger audit of the max_pfn usages. I remember > architectures using it as a decisions for using IOMMUs or similar. We chatted about this at LPC yesterday. The takeaway was that the max_pfn checks that the IOMMU code does is for checking whether a device needs an io-virtual mapping to reach addresses above its DMA limit (if it can't do 64-bit DMA). Given the capacities of persistent memory it's likely that a device with this limitation already can't address all of RAM let alone PMEM. So it seems to me that updating max_pfn for PMEM hotplug does not buy us anything except a few more opportunities to confuse PMEM as typical RAM. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [RFC PATCH 1/7] x86, mm: ZONE_DEVICE for "device memory" Dan Williams <dan.j.williams@intel.com> - 2015-08-21 17:10 +0200 Re: [RFC PATCH 1/7] x86, mm: ZONE_DEVICE for "device memory" Jerome Glisse <j.glisse@gmail.com> - 2015-08-21 17:20 +0200
csiph-web