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:   rmind
Date:           Sat Dec 18 01:36:20 UTC 2010

Modified Files:
        src/sys/kern: kern_exec.c kern_exit.c kern_lwp.c kern_timeout.c
            sys_select.c
        src/sys/rump/librump/rumpkern: sleepq.c
        src/sys/sys: lwp.h sleepq.h

Log Message:
- Fix a few possible locking issues in execve1() and exit1().  Add a note
  that scheduler locks are special in this regard - adaptive locks cannot
  be in the path due to turnstiles.  Randomly spotted/reported by uebayasi@.
- Remove unused lwp_relock() and replace lwp_lock_retry() by simplifying
  lwp_lock() and sleepq_enter() a little.
- Give alllwp its own cache-line and mark lwp_cache pointer as read-mostly.

OK ad@


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.230 -r1.231 src/sys/kern/kern_exit.c
cvs rdiff -u -r1.151 -r1.152 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.44 -r1.45 src/sys/kern/kern_timeout.c
cvs rdiff -u -r1.28 -r1.29 src/sys/kern/sys_select.c
cvs rdiff -u -r1.8 -r1.9 src/sys/rump/librump/rumpkern/sleepq.c
cvs rdiff -u -r1.138 -r1.139 src/sys/sys/lwp.h
cvs rdiff -u -r1.18 -r1.19 src/sys/sys/sleepq.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