Date: Thu, 26 Jan 2006 10:38:55 +0800 From: David Xu <davidxu@freebsd.org> To: David Xu <davidxu@freebsd.org> Cc: =?ISO-8859-1?Q?Dag-Erling_Sm?=, =?ISO-8859-1?Q?=F8rgrav?= <des@des.no>, Julian Elischer <julian@elischer.org>, arch@freebsd.org Subject: Re: vfs_aio.c is still not safe Message-ID: <43D8363F.3090104@freebsd.org> In-Reply-To: <43D832F1.6040602@freebsd.org> References: <43D6C3A5.4060100@freebsd.org> <86k6coodch.fsf@xps.des.no> <43D812F7.50808@freebsd.org> <43D825C2.4000004@elischer.org> <43D832F1.6040602@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David Xu wrote: > If a user process got a signal which will bring it down, thread_single() > call in exit1() should cause the kthreads to exit, this can be done. > This also reminds me another problem, if all user threads exited by > calling e.g: thr_exit or kse_exit, now, these kthreads should exit too, > so the code should be adjusted,not only ptrace code. > > I have rechecked thr_exit(), there is a band-aid, the lastest thread can not exit via thr_exit(), so thr_exit and kse_exit need not be worried.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D8363F.3090104>