From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: x86: call restore_sched_clock_state after %gs is initialized Date: Thu, 22 Mar 2012 11:43:26 +0200 Message-ID: <4F6AF43E.7080207@redhat.com> References: <20120321021152.GA20883@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:28542 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754315Ab2CVJn2 (ORCPT ); Thu, 22 Mar 2012 05:43:28 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2M9hSJb006081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 22 Mar 2012 05:43:28 -0400 In-Reply-To: <20120321021152.GA20883@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On 03/21/2012 04:11 AM, Marcelo Tosatti wrote: > restore_sched_clock_state methods use percpu data, therefore they > must run after %gs is initialized, but before mtrr_bp_restore (due to > lockstat using sched_clock). > > Move it to the correct place. > Applied, thanks. -- error compiling committee.c: too many arguments to function