Date: Fri, 23 Jul 1999 12:40:02 -0700 (PDT) From: Luoqi Chen <luoqi@chen.eu.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/11287: rfork(RFMEM...) doesn't share LDTs set by i386_set_ldt, breaking wine Message-ID: <199907231940.MAA88900@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/11287; it has been noted by GNATS. From: Luoqi Chen <luoqi@chen.eu.org> To: luoqi@chen.ml.org, nox@jelal.kn-bremen.de Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/11287: rfork(RFMEM...) doesn't share LDTs set by i386_set_ldt, breaking wine Date: Fri, 23 Jul 1999 15:29:23 -0400 (EDT) > > > I have an implementation based on -current (I don't have any machine > > > running -stable), you may want to take a look at, the patch is at > > > http://www.freebsd.org/~luoqi > > I just found out this doesn't work if VM86 is not used, heres the fix: > > Index: sys/i386/i386/vm_machdep.c > @@ -69,6 +69,9 @@ > #include <machine/pcb_ext.h> > #include <machine/vm86.h> > #endif > +#ifdef USER_LDT > +#include <machine/pcb_ext.h> > +#endif > > #include <vm/vm.h> > #include <vm/vm_param.h> > Yes, I'll update the patch set to include this change and the use of smp_rendezvous() function to synchronize among cpus. Thanks -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907231940.MAA88900>