Re: [PATCH 00/14] KVM: x86/mmu: Huge page fixes, cleanup, and DAX

From: Barret Rhoden
Date: Thu Jan 09 2020 - 14:47:49 EST


Hi -

On 1/8/20 3:24 PM, Sean Christopherson wrote:
This series is a mix of bug fixes, cleanup and new support in KVM's
handling of huge pages. The series initially stemmed from a syzkaller
bug report[1], which is fixed by patch 02, "mm: thp: KVM: Explicitly
check for THP when populating secondary MMU".

While investigating options for fixing the syzkaller bug, I realized KVM
could reuse the approach from Barret's series to enable huge pages for DAX
mappings in KVM[2] for all types of huge mappings, i.e. walk the host page
tables instead of querying metadata (patches 05 - 09).

Thanks, Sean. I tested this patch series out, and it works for me. (Huge KVM mappings of a DAX file, etc.).

Thanks,

Barret