Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2008 09:53:29 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 sys_machdep.c vm_machdep.c src/sys/i386/include proc.h
Message-ID:  <200809120953.m8C9rf1h037526@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-09-12 09:53:29 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        sys_machdep.c vm_machdep.c 
    sys/i386/include     proc.h 
  Log:
  SVN rev 182961 on 2008-09-12 09:53:29Z by kib
  
  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.
  
  Reviewed by:    jhb
  MFC after:      1 week
  
  Revision  Changes    Path
  1.117     +8 -0      src/sys/i386/i386/sys_machdep.c
  1.291     +5 -5      src/sys/i386/i386/vm_machdep.c
  1.28      +1 -0      src/sys/i386/include/proc.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809120953.m8C9rf1h037526>