From owner-cvs-all Tue Apr 2 14:22:16 2002 Delivered-To: cvs-all@freebsd.org Received: from mail15.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id 1EE7637B49C for ; Tue, 2 Apr 2002 14:21:59 -0800 (PST) Received: (qmail 22781 invoked from network); 2 Apr 2002 22:21:58 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 2 Apr 2002 22:21:58 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g32MMkv20824; Tue, 2 Apr 2002 17:22:46 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200204022219.g32MJG238220@freefall.freebsd.org> Date: Tue, 02 Apr 2002 17:21:59 -0500 (EST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 02-Apr-2002 John Baldwin wrote: > jhb 2002/04/02 14:19:16 PST > > Modified files: > sys/alpha/alpha machdep.c > sys/i386/i386 machdep.c > sys/ia64/ia64 machdep.c > sys/kern kern_mutex.c > sys/pc98/i386 machdep.c > sys/powerpc/powerpc machdep.c > sys/sparc64/sparc64 machdep.c > sys/sys mutex.h > Log: > - Move the MI mutexes sched_lock and Giant from being declared in the > various machdep.c's to being declared in kern_mutex.c. > - Add a new function mutex_init() used to perform early initialization > needed for mutexes such as setting up thread0's contested lock list > and initializing MI mutexes. Change the various MD startup routines > to call this function instead of duplicating all the code themselves. > > Tested on: alpha, i386 While this hasn't been tested on ppc, ia64, and sparc64, the changes are mostly mechanical and there shouldn't be any problems. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message