Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 11/17/2003 22:57:52
Module Name: src
Committed By: cl
Date: Mon Nov 17 22:57:52 UTC 2003
Modified Files:
src/sys/kern: kern_sa.c
Log Message:
- remove blocked/unblocked upcall ordering.
- always wait for unblocked upcall if we have to continue a blocked
thread.
=> removes wakeup from sys_sa_stacks when a stack is returned.
=> avoids extra sa_unblockyield syscall when unblocked upcall is
delivered before blocked upcall is processed.
=> avoids double pagefault if we continued a thread before the
pagefault was resolved.
=> avoids losing unblocked state if we continued a thread after
skipping the unblocked upcall.
To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 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.