From owner-freebsd-current@FreeBSD.ORG Sat Jun 2 14:37:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 509A116A46D for ; Sat, 2 Jun 2007 14:37:12 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.freebsd.org (Postfix) with ESMTP id CC01113C44C for ; Sat, 2 Jun 2007 14:37:11 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l52EavLr017178; Sat, 2 Jun 2007 16:36:57 +0200 From: Pieter de Goeje To: freebsd-current@freebsd.org Date: Sat, 2 Jun 2007 16:36:56 +0200 User-Agent: KMail/1.9.6 References: <20070531232525.X799@10.0.0.1> In-Reply-To: <20070531232525.X799@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706021636.57142.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Jeff Roberson Subject: Re: Call for testers, significant sched_lock patch. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 14:37:12 -0000 On Friday 01 June 2007, Jeff Roberson wrote: > I am going to commit a patch that goes significantly towards decomposing > the scheduler lock into per-cpu scheduler locks. Before this, I would > like it if a few more people would run it under more circumstances than I > have. The patch is available at: > > http://people.freebsd.org/~jeff/threadlock.diff > I can't get the kernel to build after applying this patch (sources updated today): cc -c -O -pipe -march=athlon-mp -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding /usr/src/sys/kern/kern_mutex.c /usr/src/sys/kern/kern_mutex.c: In function '_mtx_lock_spin_failed': /usr/src/sys/kern/kern_mutex.c:496: warning: no previous prototype for '_thread_lock_flags' /usr/src/sys/kern/kern_mutex.c:539: warning: no previous prototype for 'thread_lock_block' /usr/src/sys/kern/kern_mutex.c:553: warning: no previous prototype for 'thread_lock_unblock' /usr/src/sys/kern/kern_mutex.c:562: warning: no previous prototype for 'thread_lock_set' /usr/src/sys/kern/kern_mutex.c:580: warning: no previous prototype for '_mtx_unlock_sleep' /usr/src/sys/kern/kern_mutex.c:759: warning: no previous prototype for 'mtx_sysinit' /usr/src/sys/kern/kern_mutex.c:773: warning: no previous prototype for 'mtx_init' /usr/src/sys/kern/kern_mutex.c:817: warning: no previous prototype for 'mtx_destroy' /usr/src/sys/kern/kern_mutex.c:846: warning: no previous prototype for 'mutex_init' /usr/src/sys/kern/kern_mutex.c:869: warning: no previous prototype for 'db_show_mtx' /usr/src/sys/kern/kern_mutex.c:905: error: expected declaration or statement at end of input *** Error code 1 Stop in /usr/obj/usr/src/sys/NOX. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. - Pieter de Goeje