From owner-cvs-all@FreeBSD.ORG Fri Feb 23 19:47:00 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 674B416A400; Fri, 23 Feb 2007 19:47:00 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4121013C4C2; Fri, 23 Feb 2007 19:47:00 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1NJl0jF073789; Fri, 23 Feb 2007 19:47:00 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1NJl04a073788; Fri, 23 Feb 2007 19:47:00 GMT (envelope-from jhb) Message-Id: <200702231947.l1NJl04a073788@repoman.freebsd.org> From: John Baldwin Date: Fri, 23 Feb 2007 19:46:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_linker.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Feb 2007 19:47:00 -0000 jhb 2007-02-23 19:46:59 UTC FreeBSD src repository Modified files: sys/kern kern_linker.c Log: Drop the global kernel linker lock while executing the sysinit's for a freshly-loaded kernel module. To avoid various unload races, hide linker files whose sysinit's are being run from userland so that they can't be kldunloaded until after all the sysinit's have finished. Tested by: gallatin Revision Changes Path 1.145 +21 -15 src/sys/kern/kern_linker.c