From owner-cvs-all@FreeBSD.ORG Fri Apr 18 13:59:06 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D54C37B401; Fri, 18 Apr 2003 13:59:06 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4C1743F85; Fri, 18 Apr 2003 13:59:05 -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 h3IKx50U038383; Fri, 18 Apr 2003 13:59:05 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3IKx5SY038382; Fri, 18 Apr 2003 13:59:05 -0700 (PDT) Message-Id: <200304182059.h3IKx5SY038382@repoman.freebsd.org> From: John Baldwin Date: Fri, 18 Apr 2003 13:59:05 -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 src/sys/sys proc.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 20:59:06 -0000 jhb 2003/04/18 13:59:05 PDT FreeBSD src repository Modified files: sys/kern kern_sig.c sys/sys proc.h Log: - Make sigonstack() a regular function instead of an inline and add a proc lock assertion to it. - SIGPENDING() no longer needs sched_lock, so only grab sched_lock to set the TDF_NEEDSIGCHK and TDF_ASTPENDING flags in signotify(). - Add a proc lock assertion to tdsigwakeup(). - Since we always set TDF_OLDMASK while holding the proc lock, the proc lock is sufficient protection to check its state in postsig() and we only need sched_lock when clearing the actual flag. Revision Changes Path 1.228 +23 -5 src/sys/kern/kern_sig.c 1.317 +1 -16 src/sys/sys/proc.h