From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 1/4] x86: introduce hypervisor_cpuid_base() Date: Tue, 23 Jul 2013 21:47:51 -0700 Message-ID: <51EF5C77.1050006@zytor.com> References: <1374572465-15278-1-git-send-email-jasowang@redhat.com> <51EE553C.40305@zytor.com> <51EE65F4.3000703@redhat.com> <51EEA96D.3070208@zytor.com> <51EF5BAE.1020905@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Paolo Bonzini , tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, gleb@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Jason Wang Return-path: Received: from terminus.zytor.com ([198.137.202.10]:38753 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750963Ab3GXEsQ (ORCPT ); Wed, 24 Jul 2013 00:48:16 -0400 In-Reply-To: <51EF5BAE.1020905@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/23/2013 09:44 PM, Jason Wang wrote: > > Since it's just a minor optimization. How about just keep using the > strcmp()? > It's more that it enables the rest of the cleanup, making the code easier to read. -hpa