PERFORCE change 102594 for review

John Baldwin jhb at FreeBSD.org
Thu Jul 27 20:28:03 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=102594

Change 102594 by jhb at jhb_mutex on 2006/07/27 20:27:14

	Update.

Affected files ...

.. //depot/projects/smpng/sys/notes#87 edit

Differences ...

==== //depot/projects/smpng/sys/notes#87 (text+ko) ====

@@ -13,7 +13,6 @@
     "cc" clobbers yet.
 - Fixup atomic ops so that they treat the memory pointed to as an output and
   don't all clobber "memory", instead, just acquire variants clobber "memory".
-  - alpha
   - amd64
     - why clobber memory in disable_intr()?
     - eventually we should not clobber all memory for bus_space, but just
@@ -62,11 +61,6 @@
   buys is being able to swi_sched() from a fast handler, but that doesn't
   make sense because you can't actually enqueue a task onto its queue from
   a fast interrupt context
-- Try to fix problems with stuck IPIs by raising TPR and enabling interrupts
-  in spin loops.  Need to perhaps generalize this so that critical sections
-  do this.  That really needs to only be done in spinlock_*() (and maybe some
-  frobbing in intr_execute_handlers()) and needs to happen after the
-  spinlock_*() changes happen.
 - KTR change: include __func__ along with __FILE__ and __LINE__ and display
   it after cpu number by default
 - Cheapen global stats counters via PCPU_LAZY_INC
@@ -85,28 +79,22 @@
     + compat32
     - svr4
 	- svr4_stream_get() and friends
-	  + need to see where this is called and see if all of the files
-	    should already have f_ops set correctly and if we can just
-	    allocate so_emuldata directly in streamsopen()
-	  + XXX: svr4_add_socket() can add duplicates?  it's ok, just
-	    purge them all on process exit or exec
-	  + change svr4_find_socket() to copy the sockaddr out to a
-	    passed in sockaddr_un and return bool
+          - Giant will have to protect the actual stream structures for now
 	- svr4_sys_ioctl()
 	- svr4_sys_getmsg()
 	- svr4_sys_putmsg()
-	+ svr4_sys_fchroot()
     + linux
-	+ linux_uselib()
     + ibcs2
   - don't mess with td_retval in any kern_foo() functions
 
 Active child branches:
-- jhb_intr - fast ithreads and MSI? (perhaps do MSI in jhb_acpipci)
-- jhb_ktrace - kernel debugging stuff, possibly per-thread ktrace
-- jhb_lock - rwlocks
+- jhb_intr - MSI?
+- jhb_intr_fast - jeff's fast ithread patches
+- jhb_ktrace - kernel debugging stuff, asm constraints
+- jhb_lock - synchronization primitives
 - jhb_needresched - scheduler fun
 - jhb_preemption - preemption
-- jhb_proc - proc locking, ABI stuff
+- jhb_proc - proc locking
+- jhb_proc_slock - per-process spin lock
 
 Space reserved for child branches:


More information about the p4-projects mailing list