Date: Wed, 6 Jun 2007 01:15:45 +1000 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Kostik Belousov <kostikbel@gmail.com> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans <brde@optusnet.com.au> Subject: Re: cvs commit: src/sys/kern kern_mutex.c Message-ID: <20070606011022.R35623@besplex.bde.org> In-Reply-To: <20070605150521.GX2268@deviant.kiev.zoral.com.ua> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070606003412.W35544@besplex.bde.org> <20070605150005.GW2268@deviant.kiev.zoral.com.ua> <20070605150521.GX2268@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070606011022.R35623>