From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:15:47 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B30F116A400; Tue, 5 Jun 2007 15:15:47 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id 30D0513C458; Tue, 5 Jun 2007 15:15:46 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l55FFhvd025474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 01:15:45 +1000 Date: Wed, 6 Jun 2007 01:15:45 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Kostik Belousov In-Reply-To: <20070605150521.GX2268@deviant.kiev.zoral.com.ua> Message-ID: <20070606011022.R35623@besplex.bde.org> 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans Subject: Re: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 15:15:47 -0000 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