From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751521Ab2FKIQm (ORCPT ); Mon, 11 Jun 2012 04:16:42 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:41715 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750978Ab2FKIQk (ORCPT ); Mon, 11 Jun 2012 04:16:40 -0400 Date: Mon, 11 Jun 2012 10:16:35 +0200 From: Ingo Molnar To: Andi Kleen Cc: eranian@google.com, linux-kernel@vger.kernel.org, Andi Kleen , Peter Zijlstra , Thomas Gleixner Subject: Re: [PATCH 1/2] perf, x86: Add basic Ivy Bridge support v2 Message-ID: <20120611081634.GA31556@gmail.com> References: <1339191928-13223-1-git-send-email-andi@firstfloor.org> <1339191928-13223-2-git-send-email-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1339191928-13223-2-git-send-email-andi@firstfloor.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andi Kleen wrote: > + char *name; > + name = "Ivy"; > + name = "Sandy"; > - pr_cont("SandyBridge events, "); > + pr_cont("%sBridge events, ", name); Second round review feedback: you'll have to remove this ugly obfuscation, the kernel is already complex as-is. In performance insensitive code paths we want straight, obvious code without tricks. Please resubmit the patches with this fixed. Thanks, Ingo