cvs commit: src/sys/kern kern_mutex.c

Kostik Belousov kostikbel at gmail.com
Tue Jun 5 15:22:21 UTC 2007


On Tue, Jun 05, 2007 at 06:00:05PM +0300, Kostik Belousov wrote:
> On Wed, Jun 06, 2007 at 12:48:11AM +1000, Bruce Evans wrote:
> > On Tue, 5 Jun 2007, Konstantin Belousov wrote:
> > 
> > >kib         2007-06-05 14:20:13 UTC
> > >
> > > FreeBSD src repository
> > >
> > > Modified files:
> > >   sys/kern             kern_mutex.c
> > > Log:
> > > Restore non-SMP build.
> > 
> > Does it run?  _thread_lock_flags() is an almost identical copy of
> > _mtx_lock_spin_flags(), but _mtx_lock_spin_flags() is only for SMP.
> No, it panics immediately in vm_pagezero() with
> 	panic: sleepq chain not locked @kern_mutex.c:678.
Clarification: panic occurs only if PREEMPTION is _not_ specified in kernel
config. For PREEMPTION non-SMP kernel, I see no problems is 5-minutes run
still.
> 
> Attilio is looking at it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20070605/0572d5e6/attachment.pgp


More information about the cvs-all mailing list