From owner-cvs-all Fri Jun 22 16:15:42 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 3CC3237B401; Fri, 22 Jun 2001 16:15:31 -0700 (PDT) (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.3/8.11.2) with ESMTP id f5MNFNI79422; Fri, 22 Jun 2001 16:15:23 -0700 (PDT) (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: <200106222305.f5MN5Fc80501@freefall.freebsd.org> Date: Fri, 22 Jun 2001 16:41:22 -0700 (PDT) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 tra Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 22-Jun-01 John Baldwin wrote: > jhb 2001/06/22 16:05:14 PDT > > Modified files: > sys/alpha/alpha trap.c > sys/i386/i386 trap.c > sys/ia64/ia64 trap.c > Log: > - Grab the proc lock around CURSIG and postsig(). Don't release the proc > lock until after grabbing the sched_lock to avoid CURSIG racing with > psignal. > - Don't grab Giant for addupc_task() as it isn't needed. > > Reported by: tegge (signal race), bde (addupc_task a while back) At some point userret() and ast() really should be moved to a MI location. userret() is already identical on all platforms, and ast() just needs one MD macro for assigning the proper member of p_md to the passed in trapframe so signals work for it to be MI. It would make updating these easier as well as hopefully making it easier for new ports. -- 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