[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5238E385.1050705@redhat.com>
Date: Wed, 18 Sep 2013 01:19:33 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Jan Kiszka <jan.kiszka@...mens.com>
CC: linux-kernel@...r.kernel.org,
Paul Gortmaker <paul.gortmaker@...driver.com>,
stable@...r.kernel.org, kvm@...r.kernel.org, gleb@...hat.com
Subject: Re: [PATCH 1/3] KVM: cleanup (physical) CPU hotplug
Il 17/09/2013 09:57, Jan Kiszka ha scritto:
>> > Remove the useless argument, and do not do anything if there are no
>> > VMs running at the time of the hotplug.
> kvm_cpu_hotplug already filters !kvm_usage_count. If we need the check
> to be under kvm_lock, drop that line as well. If that is not required
> (machine still halted?), drop the related changes here.
CPU_DYING is called under stop_machine, CPU_STARTING is not. So I
should drop the test in kvm_cpu_hotplug. It's a bit clearer anyway to
not rely on stop_machine.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists