Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424194AbWKPPsQ (ORCPT ); Thu, 16 Nov 2006 10:48:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1424205AbWKPPsQ (ORCPT ); Thu, 16 Nov 2006 10:48:16 -0500 Received: from mx1.suse.de ([195.135.220.2]:33769 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1424194AbWKPPsO (ORCPT ); Thu, 16 Nov 2006 10:48:14 -0500 From: Andi Kleen To: William Cohen Subject: Re: [discuss] Re: 2.6.19-rc5: known regressions (v3) Date: Thu, 16 Nov 2006 16:47:38 +0100 User-Agent: KMail/1.9.5 Cc: Andrew Morton , Linus Torvalds , discuss@x86-64.org, Eric Dumazet , Komuro , Ernst Herzberg , Andre Noll , oprofile-list@lists.sourceforge.net, Jens Axboe , linux-usb-devel@lists.sourceforge.net, phil.el@wanadoo.fr, Adrian Bunk , Ingo Molnar , Alan Stern , linux-pci@atrey.karlin.mff.cuni.cz, Stephen Hemminger , Prakash Punnoor , Len Brown , Alex Romosan , gregkh@suse.de, Linux Kernel Mailing List , "Eric W. Biederman" , Andrey Borzenkov References: <200611160804.31806.ak@suse.de> <455C8520.8060109@redhat.com> In-Reply-To: <455C8520.8060109@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611161647.39456.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 25 > What other purposes do you see the performance counters useful for? Export one to user space as a cycle counter for benchmarking. RDTSC doesn't do this job anymore. > To collect information on process characteristics so they can be scheduled more efficiently? That might happen at some point in the future, but i would expect us to wait for CPUs with more performance counters first. > Is this going to require sharing the nmi interrupt and knowing which perfcounter > register triggered the interrupt to get the correct action? Currently the > oprofile interrupt handler assumes any performance monitoring counter it sees > overflowing is something it should count. Yes. That needs to be fixed. -Andi - 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/