From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge Date: Fri, 05 Sep 2014 22:37:54 +0200 Message-ID: <540A1F22.7020107@redhat.com> References: <1409835487-14371-1-git-send-email-pbonzini@redhat.com> <5408D815.9090105@redhat.com> <5409E755.4040905@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, chris.j.arges@canonical.com, kvm@vger.kernel.org, John Stultz To: Thomas Gleixner Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Il 05/09/2014 20:33, Thomas Gleixner ha scritto: >> > update_vsyscall(tk); >> > - update_pvclock_gtod(tk, action & TK_CLOCK_WAS_SET); >> > >> > tk_update_ktime_data(tk); >> > + update_pvclock_gtod(tk, action & TK_CLOCK_WAS_SET); > Why are you moving the update between vsycall and pvclock update as I > did in my patch? We really need to update everything before calling > somewhere. Do you mean the call should be moved not just after tk_update_ktime_data (which sets base_mono), but further down after update_fast_timekeeper(tk); ? Paolo