cvs commit: src/sys/kern kern_mutex.c

Bruce Evans brde at optusnet.com.au
Tue Jun 5 15:15:47 UTC 2007


On Tue, 5 Jun 2007, Kostik Belousov wrote:

> 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.

I get a "spin lock held too long" panic during (an interrupt in?) acpi
initialization on booting non-PREEMPTION SCHED_4BSD SMP.  Haven't tried
other cases.

Bruce


More information about the cvs-src mailing list