From owner-freebsd-hackers Thu Aug 9 21:18:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 54AD137B401; Thu, 9 Aug 2001 21:18:27 -0700 (PDT) (envelope-from julian@elischer.org) Received: from elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id VAA83750; Thu, 9 Aug 2001 21:10:01 -0700 (PDT) Message-ID: <3B735D2D.AAA08977@elischer.org> Date: Thu, 09 Aug 2001 21:03:57 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Robert Watson Cc: developers@FreeBSD.org, hackers@FreeBSD.org Subject: Re: FreeBSD Status Report, July 2001 References: Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Robert Watson wrote: > now out of date... 1.2MB pattches GENERIC compiles boots to almost single user without the scheduler changes.. (they happen later).. > Project: KSE threading the kernel > URL: http://people.freebsd.org/~jasone/kse/ > Contact: julian@elischer.org > > I'm working on multithreading the kernel. So far I have over 400KB of > diffs relative to todays -current (I'm keeping my tree updated with > changes as they occur rather than get hit with a big update at the end). > > I have split the proc structure and am changing most of the kernel to > pass around a thread identifier instead of a proc structure. > > The following interfaces have been changed so far: > device devsw entries > vfs calls > mutexes > events > system calls > scheduler > + a lot of code in between. > > I have still a lot of work to go with a lot of "dumb editing" (s/struct > proc \*p/struct thread \*td/) usually I change a few items and then fix > everything that breaks when I try compile it. I'd like to check it in > on a branch so others can help the editing but haven't worked out the > best way to do it yet. > > I have implemented changes to the scheduler so that kse's are scheduled > instead of processes, and threads sleep, letting the kse pick up a new > thread. but it's not anywhere ready yet (heck it doesn't compile yet > :-) > > Note that I have not yet updated the document listed above.. everywhere > it mentions "ksec" or "KSE-context", the code uses the word "thread". I > will update it soon as Jason has sent me the DOcs updated in this regard but still need more work... > -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message