DragonFly BSD
DragonFly commits List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/i386 machdep.c pmap.c src/sys/kern kern_fork.c src/sys/sys proc.h thread.h

From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Oct 2005 14:53:41 -0700 (PDT)

corecode    2005/10/05 14:53:41 PDT

DragonFly src repository

  Modified files:
    sys/i386/i386        machdep.c pmap.c 
    sys/kern             kern_fork.c 
    sys/sys              proc.h thread.h 
  Userland 1:1 threading changes step 1/4+:
  o Move thread-local members from struct proc into new struct lwp.
  o Add a LIST_HEAD(lwp) p_lwps to struct proc.  This links a proc
    with its lwps.
  o Add a td_lwp member to struct thread which links a thread to its lwp,
    if it exists.  This won't replace td_proc completely to save indirections.
  o For now embed one struct lwp into struct proc and set up preprocessor
    linkage so that semantics don't change for the rest of the kernel.
    Once all consumers are converted to take a struct lwp instead of a struct
    proc, this will go away.
  Reviewed-by: dillon, davidxu
  Revision  Changes    Path
  1.78      +1 -0      src/sys/i386/i386/machdep.c
  1.49      +1 -0      src/sys/i386/i386/pmap.c
  1.37      +14 -1     src/sys/kern/kern_fork.c
  1.62      +92 -27    src/sys/sys/proc.h
  1.68      +2 -0      src/sys/sys/thread.h


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]