From owner-cvs-all@FreeBSD.ORG Mon Aug 4 13:28:21 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 C0FD537B401; Mon, 4 Aug 2003 13:28:21 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A0B443FBF; Mon, 4 Aug 2003 13:28:21 -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 h74KSL0U051663; Mon, 4 Aug 2003 13:28:21 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h74KSL5x051662; Mon, 4 Aug 2003 13:28:21 -0700 (PDT) Message-Id: <200308042028.h74KSL5x051662@repoman.freebsd.org> From: John Baldwin Date: Mon, 4 Aug 2003 13:28:21 -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_thread.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: Mon, 04 Aug 2003 20:28:22 -0000 jhb 2003/08/04 13:28:21 PDT FreeBSD src repository Modified files: sys/kern kern_thread.c sys/sys proc.h Log: Set td_critnest to 1 when setting up a thread since it is a MI field with MI values. This ensures that td_critnest for a newly fork'd thread is always valid. Requested by: bde (a long time ago) Revision Changes Path 1.154 +1 -0 src/sys/kern/kern_thread.c 1.344 +1 -1 src/sys/sys/proc.h