From owner-freebsd-arch Mon Feb 4 21:20:20 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id A1CC337B41B; Mon, 4 Feb 2002 21:20:17 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020205052017.HXVA3578.rwcrmhc52.attbi.com@InterJet.elischer.org>; Tue, 5 Feb 2002 05:20:17 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id VAA83859; Mon, 4 Feb 2002 21:08:39 -0800 (PST) Date: Mon, 4 Feb 2002 21:08:38 -0800 (PST) From: Julian Elischer To: peter@freebsd.org Cc: arch@freebsd.org Subject: Peter.. KSE/M3 cosmetic diffs Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter, I have posted to http://www.freebsd.org/~julian/ the set of 'semi-cosmetic' diffs we discussed. with these compiled in the system seems to act teh same as -current. The effect of the diffs is to remove all teh places in the code which assume that the thread structure is embedded in the process structure. (as we discussed). If you have a chance to go through them I'd like to commit these so that the actual KSE/M3 diffs get all these cosmetic changes removed from them and hopefully we can see better what is actually going on. (Others are welcome to comment also) (arch CC'd) BTW the horrid Macro name "FIRST_THREAD_IN_PROC(p)" is deliberatly horrid. Use of this macro indicates a place that will need some rewriting before multi threading can be fully utilised. In some cases (e.g. linux emulation) this may be permanent as linux only has 1 thread per process) in which case it may eventually be changed in these places to P_THRD(p) or something nicer on the eyes, but until then they are designed to "stand out and hurt". :-) Julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message