From owner-freebsd-current@FreeBSD.ORG Fri Aug 1 16:41:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3032537B401; Fri, 1 Aug 2003 16:41:49 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9828A43F75; Fri, 1 Aug 2003 16:41:48 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003080123413201400mn6o1e>; Fri, 1 Aug 2003 23:41:32 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA47741; Fri, 1 Aug 2003 16:41:31 -0700 (PDT) Date: Fri, 1 Aug 2003 16:41:29 -0700 (PDT) From: Julian Elischer To: Marcel Moolenaar In-Reply-To: <20030801233758.GA7023@dhcp01.pn.xcllnt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: deischen@freebsd.org cc: David Xu cc: current@freebsd.org Subject: Re: NVidia glx stuff dies in sysarch(I386_SET_LDT, ...) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2003 23:41:49 -0000 On Fri, 1 Aug 2003, Marcel Moolenaar wrote: > > Having a way to disallow using the static allocation should be easy > if we use compiler magic to test that the LDT entry is constant and > 0. If it is, all is ok (assuming that I'm not mistaken that we use a > 0 entry to indicate dynamic allocation -- I haven't actually paid > that close attention to it). If the LDT entry is non-constant, it > can still be 0 of course but I expect that to be a weird border case. note that a 0 value turns out to be valid.. we had thougth it was invalid when we did the dynamic code....