From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: Don't update PPR on any APIC read Date: Mon, 30 Jul 2012 20:48:09 -0300 Message-ID: <20120730234809.GA31459@amt.cnet> References: <1342968060-23683-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Gleb Natapov To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56390 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291Ab2G3XsQ (ORCPT ); Mon, 30 Jul 2012 19:48:16 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6UNmGqH022225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 30 Jul 2012 19:48:16 -0400 Content-Disposition: inline In-Reply-To: <1342968060-23683-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Jul 22, 2012 at 05:41:00PM +0300, Avi Kivity wrote: > The current code will update the PPR on almost any APIC read; however > that's only required if we read the PPR. > > kvm_update_ppr() shows up in some profiles, albeit with a low usage (~1%). > This should reduce it further (it will still be called during interrupt > processing). > > Signed-off-by: Avi Kivity Applied, thanks.