Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2003 16:26:56 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        deischen@freebsd.org
Cc:        David Xu <davidxu@freebsd.org>
Subject:   Re: NVidia glx stuff dies in sysarch(I386_SET_LDT, ...)
Message-ID:  <Pine.BSF.4.21.0308011621260.46065-100000@InterJet.elischer.org>
In-Reply-To: <Pine.BSF.4.21.0308011619000.46065-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0308011621260.46065-100000>