Date: Thu, 27 Nov 2003 10:07:25 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: threads@freebsd.org Subject: Re: KSE/ia64 & thr_spinlock.c:1.18: problem identified Message-ID: <Pine.GSO.4.10.10311271004350.16129-100000@pcnet5.pcnet.com> In-Reply-To: <20031127055545.GB12712@dhcp01.pn.xcllnt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10311271004350.16129-100000>