From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UanIE-0001fi-6J for qemu-devel@nongnu.org; Fri, 10 May 2013 09:23:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UanI9-0006dW-Kx for qemu-devel@nongnu.org; Fri, 10 May 2013 09:23:26 -0400 Received: from cantor2.suse.de ([195.135.220.15]:54361 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UanI9-0006dE-Ej for qemu-devel@nongnu.org; Fri, 10 May 2013 09:23:21 -0400 Message-ID: <518CF4C4.6020901@suse.de> Date: Fri, 10 May 2013 15:23:16 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1368188203-3407-1-git-send-email-pbonzini@redhat.com> <874nebdm4r.fsf@codemonkey.ws> <518CF130.2030402@redhat.com> In-Reply-To: <518CF130.2030402@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-1.5 0/9] Disable expensive QOM cast debugging for official releases List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Anthony Liguori , qemu-devel@nongnu.org, Aurelien Jarno , mst@redhat.com Am 10.05.2013 15:08, schrieb Paolo Bonzini: > Il 10/05/2013 15:01, Anthony Liguori ha scritto: >> I'd prefer not to disable but instead focus on improving performance. >=20 > For 1.5? This is a regression in 1.5 due to more and more usage of > foo_env_on_cpu. If CPUs were the only reason, we could simply change those inlines and ENV_GET_CPU() macro to use a C cast. No complicated interface scenarios requiring a dynamic cast are used for CPUs so far to my knowledge. Either way, it would be nice to see the call sites of those most-impacting dynamic casts! So far I held back my APIC RFC since I'm not sure how to reproducibly profile things. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg