Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 16:02:38 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern sys_generic.c
Message-ID:  <XFMail.010921160238.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0109211616560.37053-100000@InterJet.elischer.org>

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

On 21-Sep-01 Julian Elischer wrote:
> huh?
> 
> in a 1:1 world, the p_flag word is 32 x 4 bits long and happens to be non
> contiguous, but since they are all in the proc structure, they are still
> covered by the proc lock, are they not? 
> 
> All the bits in td_flags originally came from p_flag so the proc lock
> covers them all. If it was using the proc loc before I left it that way..
> If it used the sched lock I left it that way.

No, they did _not_ all come from p_flag.  Most of them came from p_sflag.

TDF_SINTR, TDF_TIMEOUT, TDF_CVWAITQ, TDF_TIMOFAIL were all PS_* flags before
KSE.

-- 

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.010921160238.jhb>