From owner-cvs-all Tue Feb 11 13:16:38 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BE4837B401; Tue, 11 Feb 2003 13:16:36 -0800 (PST) Received: from smtp-relay.omnis.com (smtp-relay.omnis.com [216.239.128.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41F6D43F85; Tue, 11 Feb 2003 13:16:35 -0800 (PST) (envelope-from wes@softweyr.com) Received: from salty.rapid.stbernard.com (corp-2.ipinc.com [199.245.188.2]) by smtp-relay.omnis.com (Postfix) with ESMTP id 53C0B439DC; Tue, 11 Feb 2003 13:15:37 -0800 (PST) From: Wesley Peters Organization: Softweyr To: Stijn Hoop , Alfred Perlstein Subject: Re: cvs commit: ports/multimedia/mplayer Makefile distinfo pkg-plist ports/multimedia/mplayer/files patch-ad Date: Tue, 11 Feb 2003 13:15:34 -0800 User-Agent: KMail/1.5 Cc: "Thomas E. Zander" , Alexandr Kovalenko , Oliver Braun , ports-committers@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org References: <200302101928.h1AJS6Gs088748@repoman.freebsd.org> <20030211100013.GO88781@elvis.mu.org> <20030211100558.GB17571@pcwin002.win.tue.nl> In-Reply-To: <20030211100558.GB17571@pcwin002.win.tue.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302111315.34462.wes@softweyr.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday 11 February 2003 02:05, Stijn Hoop wrote: > On Tue, Feb 11, 2003 at 02:00:13AM -0800, Alfred Perlstein wrote: > > > > I would seem trivial to add a sysctl under machdep to tell userland > > if sse is available and configured. > > OK, that would solve this problem, but what about my other question? Why > not just detect if SSE is available, and use it, at runtime? Why do we > need a kernel option for this? Because, as you guessed, it affects per-process register storage and the size (and therefore speed) of context switch. A kernel hint might be possible, but would ick up the code considerably. It's worth considering. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message