Re: [PATCH v2 0/3] kvm: Use huge pages for DAX-backed files

From: Barret Rhoden
Date: Mon Dec 03 2018 - 12:41:01 EST


On 2018-11-14 at 16:55 Dan Williams <dan.j.williams@xxxxxxxxx> wrote:
> [ add Alex who is looking into removing PageReserved for DAX pages. ]

Thanks. I can keep my eye out for his patches and repost once that's
done.

Alternatively, if you all want to merge this before the PageReserved /
DAX changes, then I can repost - just Ack/Review tags. It's harmless
with the existing PageReserved behavior.

Thanks,

Barret


> On Wed, Nov 14, 2018 at 1:53 PM Barret Rhoden <brho@xxxxxxxxxx> wrote:
> >
> > This patch series depends on dax pages not being PageReserved. Once
> > that is in place, these changes will let KVM use huge pages with
> > dax-backed files. Without the PageReserved change, KVM and DAX still
> > work with these patches, simply without huge pages - which is the
> > current situation.
> >
> > RFC/discussion thread:
> > https://lore.kernel.org/lkml/20181029210716.212159-1-brho@xxxxxxxxxx/
> >
> > v1 -> v2:
> > https://lore.kernel.org/lkml/20181109203921.178363-1-brho@xxxxxxxxxx/
> >
> > - Updated Acks/Reviewed-by
> > - Minor touchups
> > - Added patch to remove redundant PageReserved() check
> > - Rebased onto linux-next
> >
> >
> > Barret Rhoden (3):
> > mm: make dev_pagemap_mapping_shift() externally visible
> > kvm: Use huge pages for DAX-backed files
> > kvm: remove redundant PageReserved() check
> >
> > arch/x86/kvm/mmu.c | 33 +++++++++++++++++++++++++++++++--
> > include/linux/mm.h | 3 +++
> > mm/memory-failure.c | 38 +++-----------------------------------
> > mm/util.c | 34 ++++++++++++++++++++++++++++++++++
> > virt/kvm/kvm_main.c | 8 ++------
> > 5 files changed, 73 insertions(+), 43 deletions(-)
> >
> > --
> > 2.19.1.1215.g8438c0b245-goog
> >