From owner-freebsd-current@FreeBSD.ORG Fri Aug 1 16:27:16 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 B027237B401; Fri, 1 Aug 2003 16:27:16 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1776043FBF; Fri, 1 Aug 2003 16:27:16 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003080123265801400t21ffe>; Fri, 1 Aug 2003 23:26:59 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA47614; Fri, 1 Aug 2003 16:26:58 -0700 (PDT) Date: Fri, 1 Aug 2003 16:26:56 -0700 (PDT) From: Julian Elischer To: deischen@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Marcel Moolenaar cc: current@freebsd.org cc: David Xu 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:27:17 -0000 On Fri, 1 Aug 2003, Julian Elischer wrote: > > > > > > I can see the need to keep the old behavoir for compatibility's > > sake. > > How about we complain loudly on the console when it's done.. > (for the first few times) > (with info on how to do it right) > static int complained = 6; if (complained-- ) { printf ("process (PID %d) Use static LDT allocation.\n", td->td_proc->p_pid); printf ("man i386_set_ldt for more information\n"); } and fix the man paget to indicate that static alloacation is frowned upon. We should however allow it to succeed if it doesn't collide with LUDATA or LUCODE I think. (if they are set) julian