From owner-freebsd-current Sun Oct 22 15:32:39 2000 Delivered-To: freebsd-current@freebsd.org Received: from midten.fast.no (midten.fast.no [213.188.8.11]) by hub.freebsd.org (Postfix) with ESMTP id F166237B479; Sun, 22 Oct 2000 15:32:27 -0700 (PDT) Received: from fast.no (IDENT:tegge@midten.fast.no [213.188.8.11]) by midten.fast.no (8.9.3/8.9.3) with ESMTP id AAA72847; Mon, 23 Oct 2000 00:32:19 +0200 (CEST) Message-Id: <200010222232.AAA72847@midten.fast.no> To: jhb@FreeBSD.ORG Cc: valentin@valcho.net, current@FreeBSD.ORG, null@pozo.com Subject: RE: sys/i386/i386/machdep.c:cpu_idle() changes causes this Was: From: Tor.Egge@fast.no In-Reply-To: Your message of "Fri, 20 Oct 2000 13:21:49 -0700 (PDT)" References: X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 23 Oct 2000 00:32:18 +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > On 20-Oct-00 Valentin Chopov wrote: > > I found that if I remove #ifndef SMP /#endif in: > > Errr, this doesn't really make sense, and if anything is probably > hiding the problem. Also, this change will potentially increase > interrupt latency even further on SMP machines. Interrupts are disabled if Giant is busy in vm_page_zero_idle, thus the idle proc calls mi_switch with interrupts disabled and the process being scheduled starts running with interrupts disabled. I suggest removing the asm statement from vm_page_zero_idle as a first stage in rewriting vm_page_zero_idle. - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message