Source-Changes archive

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

CVS commit: [wrstuden-revivesa] src/sys/kern

Module Name:    src
Committed By:   wrstuden
Date:           Tue May 27 00:20:23 UTC 2008

Modified Files:
        src/sys/kern [wrstuden-revivesa]: kern_sa.c

Log Message:
Merge sa_setwoken() and sa_unblock_userret(). The only time
sa_unblock_userret() would be called would be the time when sa_setwoken()
would not return, so just rename sa_setwoken() to be sa_unblock_userret()
and merge the beginnings of the routines together.

Purge sa_vp_reposess() with impunity. It hasn't been used for years,
is buggy, and is confusing.

Comment about the only way we'd ever come back to sa_unblock_userret()
after calling mi_switch() is if the process is exiting and we've been
made runable. If that happens, just exit.

Add comments about what sa_unblock_userret() is doing to preserve
our concurrency cap.

To generate a diff of this commit:
cvs rdiff -r1.91.2.12 -r1.91.2.13 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