cvs commit: src/sys/kern init_main.c kern_exec.c kern_fork.c kern_msfbuf.c kern_sig.c vfs_aio.c src/sys/platform/pc32/i386 genassym.c machdep.c pmap.c swtch.s trap.c src/sys/platform/vkernel/i386 cpu_regs.c genassym.c swtch.s trap.c ...

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jun 29 14:54:55 PDT 2007


dillon      2007/06/29 14:54:15 PDT

DragonFly src repository

  Modified files:
    sys/kern             init_main.c kern_exec.c kern_fork.c 
                         kern_msfbuf.c kern_sig.c vfs_aio.c 
    sys/platform/pc32/i386 genassym.c machdep.c pmap.c swtch.s 
                           trap.c 
    sys/platform/vkernel/i386 cpu_regs.c genassym.c swtch.s trap.c 
    sys/platform/vkernel/platform pmap.c 
    sys/sys              proc.h vkernel.h 
    sys/vm               pmap.h vm_fault.c vm_vmspace.c 
  Log:
  Implement struct lwp->lwp_vmspace.  Leave p_vmspace intact.  This allows
  vkernels to run threaded and to run emulated VM spaces on a per-thread basis.
  struct proc->p_vmspace is left intact, making it easy to switch into and out
  of an emulated VM space.  This is needed for the virtual kernel SMP work.
  
  This also gives us the flexibility to run emulated VM spaces in their own
  threads, or in a limited number of separate threads.  Linux does this and
  they say it improved performance.  I don't think it necessarily improved
  performance but its nice to have the flexibility to do it in the future.
  
  Revision  Changes    Path
  1.81      +1 -0      src/sys/kern/init_main.c
  1.58      +6 -0      src/sys/kern/kern_exec.c
  1.69      +1 -0      src/sys/kern/kern_fork.c
  1.21      +2 -1      src/sys/kern/kern_msfbuf.c
  1.79      +6 -6      src/sys/kern/kern_sig.c
  1.41      +16 -22    src/sys/kern/vfs_aio.c
  1.57      +3 -0      src/sys/platform/pc32/i386/genassym.c
  1.124     +2 -2      src/sys/platform/pc32/i386/machdep.c
  1.80      +41 -12    src/sys/platform/pc32/i386/pmap.c
  1.47      +6 -6      src/sys/platform/pc32/i386/swtch.s
  1.105     +19 -19    src/sys/platform/pc32/i386/trap.c
  1.16      +2 -3      src/sys/platform/vkernel/i386/cpu_regs.c
  1.58      +3 -0      src/sys/platform/vkernel/i386/genassym.c
  1.7       +6 -6      src/sys/platform/vkernel/i386/swtch.s
  1.25      +19 -19    src/sys/platform/vkernel/i386/trap.c
  1.23      +36 -15    src/sys/platform/vkernel/platform/pmap.c
  1.108     +3 -0      src/sys/sys/proc.h
  1.9       +2 -4      src/sys/sys/vkernel.h
  1.26      +3 -0      src/sys/vm/pmap.h
  1.43      +2 -1      src/sys/vm/vm_fault.c
  1.12      +26 -23    src/sys/vm/vm_vmspace.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.80&r2=1.81&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exec.c.diff?r1=1.57&r2=1.58&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.68&r2=1.69&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_msfbuf.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sig.c.diff?r1=1.78&r2=1.79&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_aio.c.diff?r1=1.40&r2=1.41&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/genassym.c.diff?r1=1.56&r2=1.57&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/machdep.c.diff?r1=1.123&r2=1.124&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/pmap.c.diff?r1=1.79&r2=1.80&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/swtch.s.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/trap.c.diff?r1=1.104&r2=1.105&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/cpu_regs.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/genassym.c.diff?r1=1.57&r2=1.58&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/swtch.s.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/trap.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/pmap.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.107&r2=1.108&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vkernel.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/pmap.h.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_fault.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_vmspace.c.diff?r1=1.11&r2=1.12&f=u





More information about the Commits mailing list