From owner-freebsd-smp Thu Mar 22 12:55:31 2001 Delivered-To: freebsd-smp@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 6CFB237B719 for ; Thu, 22 Mar 2001 12:55:29 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2MKtBG84070 for ; Thu, 22 Mar 2001 12:55:12 -0800 (PST) (envelope-from jhb@FreeBSD.org) 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 Date: Thu, 22 Mar 2001 12:55:00 -0800 (PST) From: John Baldwin To: smp@FreeBSD.org Subject: SMPng Status Report Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Until such time as a new SMPng Project Manager is appointed or whatever, I figured that someone needs to at least send out an occasional status report, so here goes: - Bosko Milekic is presently changing the msleep()/wakeup() code in the mbuf subsystem to make use of condition variables instead. He is also looking into some optimizations in the mbuf subsystem in terms of mutex locks in conjuction with some potential internal changes along with Alfred Perlstein. - I have just finished overhauling the witness code to not be mutex specific, but to instead use abstract lock objects. Each lock object has a lock class that specifies properties of all locks of a certain type. Individual lock objects also have additional properties that can override and/or add to the class properties. I haven't updated the sx locks yet, but that should be a 15 minute job. Once this is done sx locks can safely be used throughout the system. The first ones in widespread use will replace the lockmgr locks currently backing the allproc and proctree locks. I've also implemented a small critical_enter/exit API that will be used to replace the restore/save_intr() functions that came in with the original SMPng commit. With this, disable/enable_intr() will go back to being trivial one instruction functions that are i386 and ia64 specific. The todo list still resides at its old location: http://www.FreeBSD.org/~jasone/smp/ Some of the notable items on the todo list for those who would like to help out but are not sure where to start include removing the syscall MP safe flag in favor of explicit mtx_lock/unlock's of Giant for all syscall's and removing nested includes of in other kernel headers. Some of the big projects that should be coming very soon include: - Removing or at least ignoring all the priorities passed in to msleep/tsleep now that priority propagation works. - Convert lockmgr locks over to using mutexes and sx locks. -- 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 freebsd-smp" in the body of the message