Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757133AbYLLK76 (ORCPT ); Fri, 12 Dec 2008 05:59:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751391AbYLLK7s (ORCPT ); Fri, 12 Dec 2008 05:59:48 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:43799 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbYLLK7s (ORCPT ); Fri, 12 Dec 2008 05:59:48 -0500 Date: Fri, 12 Dec 2008 05:59:38 -0500 From: Christoph Hellwig To: Robert Richter Cc: Peter Zijlstra , eranian@gmail.com, Vince Weaver , Ingo Molnar , linux-kernel@vger.kernel.org, Thomas Gleixner , Andrew Morton , Eric Dumazet , Arjan van de Veen , Peter Anvin , Paul Mackerras , "David S. Miller" Subject: Re: [patch] Performance Counters for Linux, v3 Message-ID: <20081212105938.GA2685@infradead.org> References: <20081211155230.GA4230@elte.hu> <1229070345.12883.12.camel@twins> <7c86c4470812120059s7f8e64a6h91ebeadbf938858d@mail.gmail.com> <1229073834.12883.41.camel@twins> <20081212102111.GE30490@erda.amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081212102111.GE30490@erda.amd.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1414 Lines: 29 On Fri, Dec 12, 2008 at 11:21:11AM +0100, Robert Richter wrote: > I agree with Stephane. There are already many different PMU > descriptions depending on family, model and steppping and with *every* > new cpu revision you will get one more update. Implementing this in > the kernel would require kernel updates where otherwise no changes > would be necessary. Please stop the Bullshit. You have to update _something_. It makes a lot of sense to update the thing you need to udpate anyway for new hardware support, and not some piece of junk library like libperfmon. > > Talking with my community hat on, that is an artificial problem created > > by distributions, tell them to fix it. > > It does not make sense to close the eyes to reality. There are systems > where it is not possible to update the kernel frequently. Probably you > have one running yourself. Of course it is. And on many of my systems it's much easier to update a kernel than a library. A kernel I can build myself, for libraries I'm more or less reliant on the distro or hacking fugly rpm or debian packagging bits. Having HW support in the kernel is a lot easier than in weird libraries. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/