Source-Changes archive

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

CVS commit: src/sys/kern



Module Name:    src
Committed By:   cl
Date:           Fri Oct 31 23:36:50 UTC 2003

Modified Files:
        src/sys/kern: kern_sa.c

Log Message:
Avoid race condition where an LWP is put into the cache before
its state is saved:
- don't sa_putcachelwp() in sa_vp_repossess/sa_vp_donate
- only defer saving the event LWP's state
- sa_putcachelwp() after the interrupted LWP's state is saved


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/sys/kern/kern_sa.c

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