From owner-cvs-all Fri Sep 21 16: 3:36 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 5BD6837B42B; Fri, 21 Sep 2001 16:03:27 -0700 (PDT) Received: from laptop.baldwin.cx ([147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id QAA04064; Fri, 21 Sep 2001 16:02:51 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 21 Sep 2001 16:02:38 -0700 (PDT) From: John Baldwin To: Julian Elischer Subject: Re: cvs commit: src/sys/kern sys_generic.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- 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