From owner-freebsd-current Tue Mar 6 20:20:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 8BAFC37B719; Tue, 6 Mar 2001 20:20:11 -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 f274K3A63442; Tue, 6 Mar 2001 20:20:03 -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: Date: Tue, 06 Mar 2001 20:19:51 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: HEADSUP: Kernel b0rked for a little while.. Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 07-Mar-01 John Baldwin wrote: > > On 07-Mar-01 John Baldwin wrote: >> jhb 2001/03/06 18:59:54 PST >> >> Modified files: >> sys/kern kern_sig.c >> Log: >> - Proc locking. Most of signal handling is now MP safe and doesn't >> require >> Giant. The only exception is the CANSIGNAL() macro. Unlocking the proc >> lock around sendsig() in trapsignal() is also questionable. Note that >> the functions sigexit(), psignal(), and issignal() must be called with >> the proc lock of the process in question held. postsig() and >> trapsignal() should not be called with the proc lock held, but they >> also do not require Giant anymore either. >> - Remove spl's that are now no longer needed as they are fully replaced. >> >> Revision Changes Path >> 1.110 +163 -71 src/sys/kern/kern_sig.c > > Until I finish committing all the changes to lock the process when calling > psignal() and sigexit(), a kernel with INVARIANTS will panic. I'll send > another message when I'm done. Ok, it should work again. I'll be making one or two more commits in a bit, but the kernel as it stands now should work fine. -- 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-current" in the body of the message