Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   cl
Date:           Mon Nov 17 22:52:09 UTC 2003

Modified Files:
        src/sys/kern: kern_exec.c kern_exit.c kern_proc.c kern_sa.c
        src/sys/sys: lwp.h savar.h

Log Message:
- use list to keep track of free stacks.
- use splay tree for the pagefault check if the thread was running on
  an upcall stack.

=> removes the limitation that all upcall stacks need to be
   adjoining and that all upcall stacks have to be loaded with the
   1st sys_sa_stacks call.
=> enables keeping information associated with a stack in the kernel
   which makes it simpler to find out which LWP is using a stack.
=> allows increasing the SA_MAXNUMSTACKS without having to
   allocate an array of that size.


To generate a diff of this commit:
cvs rdiff -r1.175 -r1.176 src/sys/kern/kern_exec.c
cvs rdiff -r1.128 -r1.129 src/sys/kern/kern_exit.c
cvs rdiff -r1.68 -r1.69 src/sys/kern/kern_proc.c
cvs rdiff -r1.42 -r1.43 src/sys/kern/kern_sa.c
cvs rdiff -r1.13 -r1.14 src/sys/sys/lwp.h
cvs rdiff -r1.12 -r1.13 src/sys/sys/savar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index