From owner-p4-projects@FreeBSD.ORG Thu Jul 27 20:28:03 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9C21616A4E2; Thu, 27 Jul 2006 20:28:03 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21F2916A4E1 for ; Thu, 27 Jul 2006 20:28:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 065FB43D5D for ; Thu, 27 Jul 2006 20:28:01 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6RKS0M6017622 for ; Thu, 27 Jul 2006 20:28:00 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6RKS0E0017619 for perforce@freebsd.org; Thu, 27 Jul 2006 20:28:00 GMT (envelope-from jhb@freebsd.org) Date: Thu, 27 Jul 2006 20:28:00 GMT Message-Id: <200607272028.k6RKS0E0017619@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 102594 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 20:28:03 -0000 http://perforce.freebsd.org/chv.cgi?CH=102594 Change 102594 by jhb@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: