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

From: Julian Elischer (julian_at_elischer.org)
Date: 08/02/03

  • Next message: Mike Makonnen: "Re: [PATCH] jail NG schript patch for mounting devfs and procfs automatically"
    Date: Fri, 1 Aug 2003 16:26:56 -0700 (PDT)
    To: deischen@freebsd.org
    
    

    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

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Mike Makonnen: "Re: [PATCH] jail NG schript patch for mounting devfs and procfs automatically"