From: Paolo Bonzini <pbonzini@redhat.com>
To: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>,
stable@vger.kernel.org
Cc: gregkh@linuxfoundation.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 11:17:33 +0200 [thread overview]
Message-ID: <e6bb1290-6db7-97c1-cb24-403beb4e1609@redhat.com> (raw)
In-Reply-To: <20210708050253.341098-1-nobuhiro1.iwamatsu@toshiba.co.jp>
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>
Paolo
next prev parent reply other threads:[~2021-07-08 9:22 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 [this message]
2021-07-08 18:19 ` Greg KH
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=e6bb1290-6db7-97c1-cb24-403beb4e1609@redhat.com \
--to=pbonzini@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=nobuhiro1.iwamatsu@toshiba.co.jp \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.