Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 15:40:03 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_lock.c kern_subr.c
Message-ID:  <XFMail.010913154003.jhb@FreeBSD.org>
In-Reply-To: <200109132233.f8DMXbC97744@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 13-Sep-01 John Baldwin wrote:
> jhb         2001/09/13 15:33:37 PDT
> 
>   Modified files:
>     sys/kern             kern_lock.c kern_subr.c 
>   Log:
>   Fix locking on td_flags for TDF_DEADLKTREAT.  If the comments in the code
>   are true that curthread can change during this function, then this flag
>   needs to become a KSE flag, not a thread flag.

I don't think that the thread could go away just do to copyin/copyout though. 
If it does then we have much bigger problems I think: like breaking anything
that holds a lockmgr or sx lock across copyin/copyout.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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