Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750780AbXAHXzZ (ORCPT ); Mon, 8 Jan 2007 18:55:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750792AbXAHXzY (ORCPT ); Mon, 8 Jan 2007 18:55:24 -0500 Received: from terminus.zytor.com ([192.83.249.54]:55644 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750780AbXAHXzY (ORCPT ); Mon, 8 Jan 2007 18:55:24 -0500 Message-ID: <45A2D9C8.9020007@zytor.com> Date: Mon, 08 Jan 2007 15:54:48 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: dean gaudet CC: Jan Engelhardt , akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] All Transmeta CPUs have constant TSCs References: <200701050148.l051mHGM005275@terminus.zytor.com> <45A2AEE0.4090707@zytor.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 980 Lines: 25 dean gaudet wrote: > On Mon, 8 Jan 2007, H. Peter Anvin wrote: > >> I *definitely* support the concept that RDPMC 0 should could CPU cycles by >> convention in Linux. > > unfortunately that'd be very limiting and annoying on core2 processors > which have dedicated perf counters for clocks unhalted (actual vs. > nominal), but only 2 configurable perf counters. i forget what ecx value > gets you the dedicated counters... but a solution which might work would > be a syscall to return the perf counter number... > > or we could just merge perfmon ;) > OK, if there are dedicated counters in hardware at a different number, we probably should make it an ELF entry value (no need to make it a syscall for a constant.) -hpa - 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/