[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest
From: |
Chao Peng |
Subject: |
Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory |
Date: |
Wed, 24 Aug 2022 18:27:48 +0800 |
On Sun, Aug 21, 2022 at 11:27:44AM +0100, Matthew Wilcox wrote:
> On Thu, Aug 18, 2022 at 08:00:41PM -0700, Hugh Dickins wrote:
> > tmpfs and hugetlbfs and page cache are designed around sharing memory:
> > TDX is designed around absolutely not sharing memory; and the further
> > uses which Sean foresees appear not to need it as page cache either.
> >
> > Except perhaps for page migration reasons. It's somewhat incidental,
> > but of course page migration knows how to migrate page cache, so
> > masquerading as page cache will give a short cut to page migration,
> > when page migration becomes at all possible.
>
> I haven't read the patch series, and I'm not taking a position one way
> or the other on whether this is better implemented as a shmem addition
> or a shim that asks shmem for memory. Page migration can be done for
> driver memory by using PageMovable. I just rewrote how it works, so
> the details are top of my mind at the moment if anyone wants something
> explained. Commit 68f2736a8583 is the key one to look at.
Thanks Matthew. That is helpful to understand the current code.
Chao
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, (continued)
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Sean Christopherson, 2022/08/18
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Hugh Dickins, 2022/08/18
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Sean Christopherson, 2022/08/19
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, David Hildenbrand, 2022/08/23
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Sean Christopherson, 2022/08/23
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Chao Peng, 2022/08/24
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Hugh Dickins, 2022/08/18
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Kirill A. Shutemov, 2022/08/19
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Hugh Dickins, 2022/08/21
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Matthew Wilcox, 2022/08/21
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory,
Chao Peng <=
Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Fuad Tabba, 2022/08/26