From: Greg KH <gregkh@linuxfoundation.org>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>,
stable@vger.kernel.org, sashal@kernel.org,
David Rientjes <rientjes@google.com>
Subject: Re: [PATCH for 4.19, 5.4] KVM: SVM: Periodically schedule when unregistering regions on destroy
Date: Thu, 8 Jul 2021 20:19:48 +0200 [thread overview]
Message-ID: <YOdBxCmbAKXPkq8r@kroah.com> (raw)
In-Reply-To: <e6bb1290-6db7-97c1-cb24-403beb4e1609@redhat.com>
On Thu, Jul 08, 2021 at 11:17:33AM +0200, Paolo Bonzini wrote:
> On 08/07/21 07:02, Nobuhiro Iwamatsu wrote:
> > From: David Rientjes <rientjes@google.com>
> >
> > commit 7be74942f184fdfba34ddd19a0d995deb34d4a03 upstream.
>
> Part of 5.9.
>
> > diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
> > index c5673bda4b66df..3f776e654e3aec 100644
> > --- a/arch/x86/kvm/svm.c
> > +++ b/arch/x86/kvm/svm.c
> > @@ -1910,6 +1910,7 @@ static void sev_vm_destroy(struct kvm *kvm)
> > list_for_each_safe(pos, q, head) {
> > __unregister_enc_region_locked(kvm,
> > list_entry(pos, struct enc_region, list));
> > + cond_resched();
> > }
> > }
> >
>
> Patch is the same as the upstream commit, except for the name of the file.
> Thanks!
>
> Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Now queued up, thanks.
greg k-h
prev parent reply other threads:[~2021-07-08 18:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-08 5:02 [PATCH for 4.19, 5.4] KVM: SVM: Periodically schedule when unregistering regions on destroy Nobuhiro Iwamatsu
2021-07-08 9:17 ` Paolo Bonzini
2021-07-08 18:19 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YOdBxCmbAKXPkq8r@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=nobuhiro1.iwamatsu@toshiba.co.jp \
--cc=pbonzini@redhat.com \
--cc=rientjes@google.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox