On Fri, Feb 05, 2010 at 10:36:07PM +0100, Kurt Schreiner wrote: > Hi, > > reverting > > sys/kern/kern_mutex.c > sys/kern/kern_rwlock.c > sys/sys/mutex.h > sys/sys/rwlock.h > > to yesterday's versions yields a working kernel again. > (at least on i386...) Would the following "fix" it by any chance? Index: kern_mutex.c =================================================================== RCS file: /cvsroot/src/sys/kern/kern_mutex.c,v retrieving revision 1.47 diff -u -r1.47 kern_mutex.c --- kern_mutex.c 5 Feb 2010 06:43:16 -0000 1.47 +++ kern_mutex.c 5 Feb 2010 23:03:58 -0000 @@ -181,7 +181,8 @@ (((mtx)->mtx_owner & MUTEX_BIT_SPIN) == 0) #define MUTEX_DEBUG_P(mtx) (((mtx)->mtx_owner & MUTEX_BIT_NODEBUG) == 0) -#if defined(LOCKDEBUG) +//#if defined(LOCKDEBUG) +#if 1 #define MUTEX_OWNED(owner) (((owner) & ~MUTEX_BIT_NODEBUG) != 0) #define MUTEX_INHERITDEBUG(new, old) (new) |= (old) & MUTEX_BIT_NODEBUG #else /* defined(LOCKDEBUG) */ -- Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost "See the look on my face from staying too long in one place [...] every time the morning breaks I know I'm closer to falling" KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
Attachment:
pgpYsyazNMgFf.pgp
Description: PGP signature