From owner-cvs-src@FreeBSD.ORG Mon Apr 19 07:20:02 2004 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 6B51E16A4CE; Mon, 19 Apr 2004 07:20:02 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E7FF43D39; Mon, 19 Apr 2004 07:20:02 -0700 (PDT) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3JEK2Ge028164; Mon, 19 Apr 2004 07:20:02 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3JEK1ge028163; Mon, 19 Apr 2004 07:20:01 -0700 (PDT) (envelope-from mtm) Message-Id: <200404191420.i3JEK1ge028163@repoman.freebsd.org> From: Mike Makonnen Date: Mon, 19 Apr 2004 07:20:01 -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_thr.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: Mon, 19 Apr 2004 14:20:02 -0000 mtm 2004/04/19 07:20:01 PDT FreeBSD src repository Modified files: sys/kern kern_thr.c Log: If you're trying to find out if a thread is valid and in the same process as the current thread it makes absolutely no sense to lock the parent process through the pointer in said thread. Submitted by: pho (with minor correction) Pointy Hat To: mtm Revision Changes Path 1.19 +4 -4 src/sys/kern/kern_thr.c