NVidia glx stuff dies in sysarch(I386_SET_LDT, ...)

Julian Elischer julian at elischer.org
Fri Aug 1 16:27:17 PDT 2003



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



More information about the freebsd-current mailing list