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 GoejeReceived on Sat Jun 02 2007 - 12:37:12 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC