Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 1999 08:10:02 -0700 (PDT)
From:      Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/12247: userlevel program let kernel hang 
Message-ID:  <199906191510.IAA84582@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/12247; it has been noted by GNATS.

From: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To: Bruce Evans <bde@zeta.org.au>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/12247: userlevel program let kernel hang 
Date: Sat, 19 Jun 1999 19:00:24 +0400

 Bruce Evans wrote:
 >  tsleep()'s return codes are poorly documented and were
 >  misinterpreted in lf_setlock().  tsleep() can return 0 if the process
 >  was restarted by a debugger, 
 
 I didn't realise that a process sleeping interruptible can be stopped 
 inside the tsleep call (is that true?). It looks dangerous to me. For 
 example, interruptible nfs may sleep interuuptible, in particular in 
 the vfs_bio code, with vnode locks held, etc. Stopping at such point 
 looks like a good opportunity to hang the machine...
 
 Dima
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906191510.IAA84582>