Source-Changes archive

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

CVS commit: [nathanw_sa] syssrc/sys/kern



Module Name:    syssrc
Committed By:   nathanw
Date:           Mon Dec 17 20:46:22 UTC 2001

Modified Files:
        syssrc/sys/kern [nathanw_sa]: kern_sa.c

Log Message:
Adjust to creating the sa_t when sa_upcall() is called.

Move most of the complexity of cpu_upcall() into a new procedure,
sa_upcall_userret(), which will itself call the new, pared-down cpu_upcall().

Make use of the L_SA_BLOCKING flag to avoid creating UNBLOCKED/BLOCKED upcall
sequences when the LWP never returns to userland (for example, when tsleep()
is called multiple times inside of select() or poll()). Move the generation
of UNBLOCKED upcalls to sa_upcall_userret().

Use the LWP pointer stashed by preempt() instead of manually searching the
list of LWPs for the one that was preempted.

Tweak the debug output somewhat.


To generate a diff of this commit:
cvs rdiff -r1.1.2.9 -r1.1.2.10 syssrc/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