KSE/ia64 & thr_spinlock.c:1.18: problem identified
Daniel Eischen
eischen at vigrid.com
Thu Nov 27 07:07:28 PST 2003
On Wed, 26 Nov 2003, Marcel Moolenaar wrote:
> Ok,
>
> I found what the problem is. Syscalls that got interrupted were not
> restarted when they should be. This is the result of using the KSE
> internal context functions, when we should be going through the
> kernel. So, the end result is that we do in fact need a syscall to
> switch KSE contexts. Attached a patch to add such syscall. Please
> review (ia64 specific changes to make use of the syscall are not
> included).
The patch looks OK. Is it possible to roll _ia64_break_setcontext()
into kse_switchin() and have ia64's set_mcontext() know the difference
between the two contexts?
--
Dan Eischen
More information about the freebsd-threads
mailing list