cvs commit: src/sys/kern kern_thread.c syscalls.master src/sys/sys
kse.h
Marcel Moolenaar
marcel at FreeBSD.org
Sun Dec 7 11:34:31 PST 2003
marcel 2003/12/07 11:34:29 PST
FreeBSD src repository
Modified files:
sys/kern kern_thread.c syscalls.master
sys/sys kse.h
Log:
Add kse_switchin(2). This syscall can be used by KSE implementations
to have the kernel switch to a new thread, instead of doing it in
userland. It is in fact needed on ia64 where syscall restarts do not
return to userland first. It's completely handled inside the kernel.
As such, any context created by the kernel as part of an upcall and
caused by some syscall needs to be restored by the kernel.
Revision Changes Path
1.164 +24 -0 src/sys/kern/kern_thread.c
1.159 +2 -0 src/sys/kern/syscalls.master
1.20 +1 -0 src/sys/sys/kse.h
More information about the cvs-src
mailing list