Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1722384

Re: [PATCH RFC v3 1/9] KVM: s390: optimize detection of started vcpus

From Cornelia Huck <cohuck@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH RFC v3 1/9] KVM: s390: optimize detection of started vcpus
Date 2017-08-29 13:30 +0200
Message-ID <ujMSx-1Zf-75@gated-at.bofh.it> (permalink)
References <uh1El-Dw-3@gated-at.bofh.it> <uh1El-Dw-15@gated-at.bofh.it>
Organization Red Hat GmbH

Show all headers | View raw


On Mon, 21 Aug 2017 22:35:22 +0200
Radim Krčmář <rkrcmar@redhat.com> wrote:

> We can add a variable instead of scanning all online VCPUs to know how
> many are started.  We can't trivially tell which VCPU is the last one,
> though.
> 
> Suggested-by: Cornelia Huck <cohuck@redhat.com>
> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
> ---
>  arch/s390/include/asm/kvm_host.h |  1 +
>  arch/s390/kvm/kvm-s390.c         | 39 +++++++++++++++------------------------
>  2 files changed, 16 insertions(+), 24 deletions(-)

Modulo the bug noticed by Christian, I think this looks good.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH RFC v3 1/9] KVM: s390: optimize detection of started  vcpus Cornelia Huck <cohuck@redhat.com> - 2017-08-29 13:30 +0200

csiph-web