[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173958047445.1191117.9513441851544868586.b4-ty@google.com>
Date: Fri, 14 Feb 2025 16:50:39 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, pbonzini@...hat.com, yangge1116@....com
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org, david@...hat.com,
baolin.wang@...ux.alibaba.com, thomas.lendacky@....com, liuzixing@...on.cn,
Barry Song <baohua@...nel.org>
Subject: Re: [PATCH V4] KVM: SEV: fix wrong pinning of pages
On Tue, 11 Feb 2025 10:37:03 +0800, yangge1116@....com wrote:
> In the sev_mem_enc_register_region() function, we need to call
> sev_pin_memory() to pin memory for the long term. However, when
> calling sev_pin_memory(), the FOLL_LONGTERM flag is not passed, causing
> the allocated pages not to be migrated out of MIGRATE_CMA/ZONE_MOVABLE,
> violating these mechanisms to avoid fragmentation with unmovable pages,
> for example making CMA allocations fail.
>
> [...]
Applied to kvm-x86 svm, thanks!
[1/1] KVM: SEV: fix wrong pinning of pages
https://github.com/kvm-x86/linux/commit/7e066cb9b71a
--
https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists