From owner-svn-src-all@FreeBSD.ORG Wed Oct 22 15:53:53 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51BBD10656AA for ; Wed, 22 Oct 2008 15:53:53 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.245]) by mx1.freebsd.org (Postfix) with ESMTP id 016598FC2E for ; Wed, 22 Oct 2008 15:53:52 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so1102764hsz.11 for ; Wed, 22 Oct 2008 08:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=3hx7+NwCgHr2sI34d1afrYVR+YjW142Pnu/G5gKzCVQ=; b=TeIwlyOKpV8DYyD9niio16GQxxJBbPI1x6/N+NOFD11kaoPpmIJPoQ77cFEbjE68hr FOFbnfOvVJgzI2gQXBWgEUMEixP3M9MdxKn84kX8cBzPmQUn/jBS8DiEHpCbxLqhguDE aB3Eu8hrCfN8z/sIRB6hWWxhkHnHcZ+DY6+u0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=mZ3o5tjR4i2SAEjn1mXFYlss14zO/paHXXENOsDonIyKPnwcsmXEB5b/gLSDgyA2i8 lL4yrMqUX3UqywWrI/PWxsH+MZ40Mnnr9Yb6QSCTv0QWw7izadFB0GLJLs73twk33eSx +8E609nN1uRLa7XdwPBooyea7u5ibDxp8oBXY= Received: by 10.103.252.17 with SMTP id e17mr5255124mus.115.1224690830964; Wed, 22 Oct 2008 08:53:50 -0700 (PDT) Received: by 10.103.239.14 with HTTP; Wed, 22 Oct 2008 08:53:50 -0700 (PDT) Message-ID: <3bbf2fe10810220853r34256b59y1fe57f49eca2014@mail.gmail.com> Date: Wed, 22 Oct 2008 17:53:50 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Jung-uk Kim" In-Reply-To: <200810211605.46927.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810210431.m9L4V7Pb088978@svn.freebsd.org> <3bbf2fe10810210307t664cc8a2s62606f03427286f3@mail.gmail.com> <200810211605.46927.jkim@FreeBSD.org> X-Google-Sender-Auth: fd1f8b4ed9372959 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r184108 - head/sys/i386/i386 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 15:53:53 -0000 2008/10/21, Jung-uk Kim : > On Tuesday 21 October 2008 06:07 am, Attilio Rao wrote: > > Something we could do with this is adding a "quirk" table of TSC > > arch dependant known to be working (based on cpu_model and such) > > and use that table in order to replace tsc_smp. > > Please note the invariant_tsc and smp_tsc are different. If we go > with the route, we need two quirk tables. :-( It doesn't matter. I think it is silly we have different quirks flag states for TSC. We should just having a table assuming that the TSC is safe to use in SMP environments and gets rid of any other flag (in this case, for amd64 based machine, the logic could, for example, check if the CPU is P state invariant and assume it is safe, etc.) Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein