Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1479566
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/2] mm: fix cache mode of dax pmd mappings |
| Date | 2016-09-09 00:50 +0200 |
| Message-ID | <sfgiR-3lF-13@gated-at.bofh.it> (permalink) |
| References | <seTvY-5VT-11@gated-at.bofh.it> <seTvY-5VT-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 07 Sep 2016 15:26:14 -0700 Dan Williams <dan.j.williams@intel.com> wrote: > track_pfn_insert() in vmf_insert_pfn_pmd() is marking dax mappings as > uncacheable rendering them impractical for application usage. DAX-pte > mappings are cached and the goal of establishing DAX-pmd mappings is to > attain more performance, not dramatically less (3 orders of magnitude). > > track_pfn_insert() relies on a previous call to reserve_memtype() to > establish the expected page_cache_mode for the range. While memremap() > arranges for reserve_memtype() to be called, devm_memremap_pages() does > not. So, teach track_pfn_insert() and untrack_pfn() how to handle > tracking without a vma, and arrange for devm_memremap_pages() to > establish the write-back-cache reservation in the memtype tree. Acked-by: Andrew Morton <akpm@linux-foundation.org> I'll grab [2/2].
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 0/2] fix cache mode tracking for pmem + dax Dan Williams <dan.j.williams@intel.com> - 2016-09-08 00:30 +0200
[PATCH v2 2/2] mm: fix cache mode tracking in vm_insert_mixed() Dan Williams <dan.j.williams@intel.com> - 2016-09-08 00:30 +0200
[PATCH v2 1/2] mm: fix cache mode of dax pmd mappings Dan Williams <dan.j.williams@intel.com> - 2016-09-08 00:30 +0200
Re: [PATCH v2 1/2] mm: fix cache mode of dax pmd mappings Andrew Morton <akpm@linux-foundation.org> - 2016-09-09 00:50 +0200
csiph-web