From owner-freebsd-current Fri Feb 8 17:26:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from cvsup.no.freebsd.org (c2h5oh.idi.ntnu.no [129.241.103.69]) by hub.freebsd.org (Postfix) with ESMTP id B74DC37B47B for ; Fri, 8 Feb 2002 17:26:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by cvsup.no.freebsd.org (8.11.6/8.11.6) with ESMTP id g191QLx20942; Sat, 9 Feb 2002 01:26:21 GMT (envelope-from tegge@cvsup.no.freebsd.org) To: julian@elischer.org Cc: gene@nttmcl.com, david@catwhisker.org, current@FreeBSD.ORG Subject: Re: Hang on flushing buffers w/today's -CURRENT, SMP system From: Tor.Egge@cvsup.no.freebsd.org In-Reply-To: References: <20020208170536.A265@alicia.nttmcl.com> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020209012620H.tegge@cvsup.no.freebsd.org> Date: Sat, 09 Feb 2002 01:26:20 GMT X-Dispatcher: imput version 20000228(IM140) Lines: 27 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > hmmmm so what is the difference between your kernel and mine that works? > > just out of curiosity, have you tried a very latest -current? > do you have your own config? how does GENERIC behave? > (what kind of disks do you have?) It looks like a call to setrunqueue() was incorrectly dropped in the latest version of kern_shutdown.c. Index: kern_shutdown.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_shutdown.c,v retrieving revision 1.118 diff -u -r1.118 kern_shutdown.c --- kern_shutdown.c 7 Feb 2002 20:58:44 -0000 1.118 +++ kern_shutdown.c 9 Feb 2002 01:11:18 -0000 @@ -272,6 +272,7 @@ DROP_GIANT(); for (subiter = 0; subiter < 50 * iter; subiter++) { mtx_lock_spin(&sched_lock); + setrunqueue(curthread); curthread->td_proc->p_stats->p_ru.ru_nvcsw++; mi_switch(); /* Allow interrupt threads to run */ mtx_unlock_spin(&sched_lock); - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message