From owner-freebsd-current Tue Jul 9 15: 0:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1091C37B405; Tue, 9 Jul 2002 15:00:28 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 565E043E58; Tue, 9 Jul 2002 15:00:27 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020709220026.SXBE29588.sccrmhc01.attbi.com@InterJet.elischer.org>; Tue, 9 Jul 2002 22:00:26 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA36810; Tue, 9 Jul 2002 14:50:20 -0700 (PDT) Date: Tue, 9 Jul 2002 14:50:19 -0700 (PDT) From: Julian Elischer To: John Baldwin Cc: current@FreeBSD.org, julian@FreeBSD.org Subject: Re: mdthread is copied but mdproc isn't? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gosh I did that SOOO long ago (almost a year I guess) that I really cannot remember.. I think I looked at the fields and decided that since there weren't any at that time It could probably be in that reagion.. you are right I think.. feel free to shift it. Matt has since been there.. I can't remember what was there before. 1.1 (rgrimes 12-Jun-93): */ 1.12 (julian 12-Sep-01): struct mdthread { 1.16 (dillon 27-Mar-02): register_t md_savecrit; 1.12 (julian 12-Sep-01): }; 1.12 (julian 12-Sep-01): I presume that the savecrit should not be duplicated.. (but it is not set in fork so that is probably ok...) sure.. move it. On Tue, 9 Jul 2002, John Baldwin wrote: > I'm trying to cleanup the Alpha MD flags and discovered that in KSE-2, > the struct mdthread td_md is in the copy section of struct thread even > though struct mdproc p_md is not (and wasn't before KSE-2 either). Just > curious if this was accidental or intentional? I think mdthread should > not be copied by default, but should be treated the same as mdproc, and > the MD code should be responsible for copying/zeroing any bits that it > needs to. > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message