From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: x86: kvm: Revert "remove sched notifier for cross-cpu migrations" Date: Tue, 24 Mar 2015 16:34:12 +0100 Message-ID: <20150324153412.GB21710@potion.brq.redhat.com> References: <20150323232151.GA12772@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm-devel , stable@vger.kernel.org, Paolo Bonzini , Andy Lutomirski To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43755 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752165AbbCXPeQ (ORCPT ); Tue, 24 Mar 2015 11:34:16 -0400 Content-Disposition: inline In-Reply-To: <20150323232151.GA12772@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: 2015-03-23 20:21-0300, Marcelo Tosatti: > The following point: > > 2. per-CPU pvclock time info is updated if the > underlying CPU changes. > > Is not true anymore since "KVM: x86: update pvclock area conditionally, > on cpu migration". I think that the revert doesn't fix point 2.: "KVM: x86: update pvclock [...]" changed the host to skip clock update on physical CPU change, but guest's task migration notifier isn't tied to it at all. (Guest can have all tasks pinned, so the revert changed nothing.) > Add task migration notification back. > > Problem noticed by Andy Lutomirski. What is the problem? Thanks.