Re: [PATCH 1/2] KVM: Stop KVM_PRE_FAULT_MEMORY when the vCPU's dirty ring is full

From: Sean Christopherson

Date: Tue Nov 10 2026 - 16:36:29 EST


On Tue, Nov 10, 2026, Fuad Tabba wrote:
> Hi Sean,
>
> On Tue, 10 Nov 2026 15:48:37 +0000, Sean Christopherson
> <seanjc@xxxxxxxxxx> wrote:
> > On Tue, Nov 10, 2026, Fuad Tabba wrote:
> > > diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
> [...]
> > > @@ -4461,6 +4461,12 @@ static int kvm_vcpu_pre_fault_memory(struct kvm_vcpu *vcpu,
> > > break;
> > > }
> > >
> > > + /* Like KVM_RUN: only the iteration crossing the soft limit uses the reserve. */
> >
> > Please don't include AI comments verbatim.
>
> The series is LLM-assisted, but the comment was actually me.

LOL, I think all of us are getting a bit corrupted. :-)