From owner-cvs-src@FreeBSD.ORG Sat Nov 29 06:10:03 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 A255716A4CE; Sat, 29 Nov 2003 06:10:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0D1343FEC; Sat, 29 Nov 2003 06:10:02 -0800 (PST) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hATEA2XJ022168; Sat, 29 Nov 2003 06:10:02 -0800 (PST) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hATEA23p022167; Sat, 29 Nov 2003 06:10:02 -0800 (PST) (envelope-from davidxu) Message-Id: <200311291410.hATEA23p022167@repoman.freebsd.org> From: David Xu Date: Sat, 29 Nov 2003 06:10:02 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread/thread thr_init.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: Sat, 29 Nov 2003 14:10:03 -0000 davidxu 2003/11/29 06:10:02 PST FreeBSD src repository Modified files: lib/libpthread/thread thr_init.c Log: Remove surplus mmap() call for stack guard page in init_private, it is done in init_main_thread. Also don't initialize lock and lockuser again for initial thread, it is already done by _thr_alloc(). Reviewed by: deischen Approved by: re (scottl) Revision Changes Path 1.62 +0 -25 src/lib/libpthread/thread/thr_init.c