From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Mammedov Subject: Re: x86: kvmclock: abstract save/restore sched_clock_state Date: Fri, 10 Feb 2012 05:11:00 -0500 (EST) Message-ID: <0158e627-6d3d-4c1b-ba44-8a335891cfbf@zmail16.collab.prod.int.phx2.redhat.com> References: <20120210100211.GA2971@amit.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, johnstul@us.ibm.com, riel@redhat.com, avi@redhat.com To: Amit Shah Return-path: Received: from mx4-phx2.redhat.com ([209.132.183.25]:52692 "EHLO mx4-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753353Ab2BJKNX (ORCPT ); Fri, 10 Feb 2012 05:13:23 -0500 In-Reply-To: <20120210100211.GA2971@amit.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Could you send me your .config and commit id of kernel you are using? ----- Original Message ----- > From: "Amit Shah" > To: "Igor Mammedov" > Cc: "Marcelo Tosatti" , kvm@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, > hpa@zytor.com, x86@kernel.org, johnstul@us.ibm.com, riel@redhat.com, avi@redhat.com > Sent: Friday, February 10, 2012 11:02:11 AM > Subject: Re: x86: kvmclock: abstract save/restore sched_clock_state > > On (Thu) 09 Feb 2012 [16:13:29], Igor Mammedov wrote: > > > Stalls are probably caused by uninitialized percpu hv_clock, with > > following patch I don't see stalls. Although I might be just lucky. > > http://git.kernel.org/?p=virt/kvm/kvm.git;a=commit;h=e2971ac7e1d186af059e088d305496c5cb47d487 > > Your commit does make things better, I don't see any stalls on the > first resume. > > However, a subsequent s4 causes the stall to re-appear on resume, and > this time there are no stall messages; the kernel just sits there > spinning on something. I've not found the solution to this one yet > (I > had a commit similar to Marcelo's in the works, which got me to the > previous works-but-stalls behaviour). > > > However there is/are a warning/s on suspend path and with following > > patch: > > I didn't see this. > > Amit > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >