From owner-cvs-src@FreeBSD.ORG Wed Apr 23 11:50:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C671B37B401; Wed, 23 Apr 2003 11:50:26 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64D0B43FBD; Wed, 23 Apr 2003 11:50:26 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3NIoQ0U062409; Wed, 23 Apr 2003 11:50:26 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3NIoPpN062402; Wed, 23 Apr 2003 11:50:25 -0700 (PDT) Message-Id: <200304231850.h3NIoPpN062402@repoman.freebsd.org> From: John Baldwin Date: Wed, 23 Apr 2003 11:50:25 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 18:50:27 -0000 jhb 2003/04/23 11:50:25 PDT FreeBSD src repository Modified files: sys/kern kern_sig.c Log: - Reorganize osigstack() to do the copyin first, grab the proc lock once, do all the various sigstack dances, unlock the proc lock, and finally do the copyout. This more closely resembles the behavior of kern_sigaltstack() and closes a small race. - Remove Giant from osigstack as it is no longer needed. Revision Changes Path 1.230 +13 -19 src/sys/kern/kern_sig.c