Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2001 12:55:00 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        smp@FreeBSD.org
Subject:   SMPng Status Report
Message-ID:  <XFMail.010322125500.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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 <sys/mutex.h> 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010322125500.jhb>