From owner-cvs-all Wed Mar 28 9: 6:48 2001 Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 995AD37B725; Wed, 28 Mar 2001 09:06:42 -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 f2SH6dG95381; Wed, 28 Mar 2001 09:06:39 -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 In-Reply-To: <200103281152.f2SBqwk86873@freefall.freebsd.org> Date: Wed, 28 Mar 2001 09:06:13 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/alpha/alpha pmap.c src/sys/compat/linpro Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 28-Mar-01 John Baldwin wrote: > jhb 2001/03/28 03:52:58 PST > > Modified files: > sys/alpha/alpha pmap.c > sys/compat/linprocfs linprocfs_vnops.c > sys/compat/svr4 svr4_misc.c > sys/i386/i386 pmap.c > sys/i386/ibcs2 ibcs2_sysvec.c > sys/ia64/ia64 pmap.c > sys/kern imgact_elf.c init_main.c kern_exit.c > kern_fork.c kern_kthread.c kern_ktrace.c > kern_proc.c kern_resource.c kern_sig.c > kern_synch.c sys_process.c vfs_syscalls.c > sys/miscfs/procfs procfs_ctl.c procfs_vnops.c > sys/sys proc.h > sys/vm vm_glue.c vm_meter.c vm_object.c > vm_pageout.c > Log: > Convert the allproc and proctree locks from lockmgr locks to sx locks. Forgot to mention: If you have seen occasional deadlocks in current with processes in the 'allproc' wait channel (i.e., system seems to freeze, but you can drop into ddb, and you find that the clock swi is stuck in 'allproc') try today's current and see if this fixes it. Note that you want my later fix for the race condition in witness as well, as this deadlock only occurred on SMP boxes, at least that I've heard. -- 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 cvs-all" in the body of the message