From owner-cvs-all Tue Mar 6 19: 9:44 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DA2D537B719; Tue, 6 Mar 2001 19:09:40 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2739eh74355; Tue, 6 Mar 2001 19:09:40 -0800 (PST) (envelope-from jhb) Message-Id: <200103070309.f2739eh74355@freefall.freebsd.org> From: John Baldwin Date: Tue, 6 Mar 2001 19:09:40 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/miscfs/procfs procfs_ctl.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/03/06 19:09:40 PST Modified files: sys/miscfs/procfs procfs_ctl.c Log: Proc locking. Lock around psignal() and also ensure both an exclusive proctree lock and the process lock are held when updating p_pptr and p_oppid. When we are just reaading p_pptr we only need the proc lock and not a proctree lock as well. Revision Changes Path 1.25 +35 -21 src/sys/miscfs/procfs/procfs_ctl.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message