kib 2008-09-23 17:41:15 UTC FreeBSD src repository
Modified files: (Branch: RELENG_7) sys/i386/i386 sys_machdep.c vm_machdep.c sys/i386/include proc.h Log: SVN rev 183311 on 2008-09-23 17:41:15Z by kib MFC r182961: When doing rfork(0), i.e. separating curproc VM from any other user of the same vmspace, decrement the reference count of the shared LDT instead of a newly-made copy. Code factually removed LDT from the process that did rfork(0). Introduce user_ldt_deref() function that does decrement of refcount for the struct proc_ldt, and call it in the rfork(0) case on the shared LDT. Approved by: re (kensmith) Revision Changes Path 1.112.2.3 +8 -0 src/sys/i386/i386/sys_machdep.c 1.283.2.4 +5 -5 src/sys/i386/i386/vm_machdep.c 1.26.2.2 +1 -0 src/sys/i386/include/proc.h _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"