From owner-freebsd-current Mon Feb 11 19:44:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from newman2.bestweb.net (newman2.bestweb.net [209.94.102.67]) by hub.freebsd.org (Postfix) with ESMTP id 3A2A137B6B4 for ; Mon, 11 Feb 2002 18:19:48 -0800 (PST) Received: from okeeffe.bestweb.net (okeefe.bestweb.net [209.94.100.110]) by newman2.bestweb.net (Postfix) with ESMTP id 22F2D22FD9; Mon, 11 Feb 2002 21:18:40 -0500 (EST) Received: by okeeffe.bestweb.net (Postfix, from userid 0) id 5DE739EF34; Mon, 11 Feb 2002 21:13:02 -0500 (EST) Date: Fri, 8 Feb 2002 17:34:45 -0800 (PST) From: Julian Elischer To: Tor.Egge@cvsup.no.freebsd.org Cc: gene@nttmcl.com, david@catwhisker.org, current@FreeBSD.ORG Subject: Re: Hang on flushing buffers w/today's -CURRENT, SMP system Message-Id: <20020212021302.5DE739EF34@okeeffe.bestweb.net> 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 Thats it for sure! committing now.. On Sat, 9 Feb 2002 Tor.Egge@cvsup.no.freebsd.org wrote: > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message