Date: Sat, 2 Jun 2007 16:36:56 +0200 From: Pieter de Goeje <pieter@degoeje.nl> To: freebsd-current@freebsd.org Cc: Jeff Roberson <jroberson@chesapeake.net> Subject: Re: Call for testers, significant sched_lock patch. Message-ID: <200706021636.57142.pieter@degoeje.nl> In-Reply-To: <20070531232525.X799@10.0.0.1> References: <20070531232525.X799@10.0.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706021636.57142.pieter>