Date: Mon, 23 Oct 2000 00:32:18 +0200 From: Tor.Egge@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: Message-ID: <200010222232.AAA72847@midten.fast.no> In-Reply-To: Your message of "Fri, 20 Oct 2000 13:21:49 -0700 (PDT)" References: <XFMail.001020132149.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010222232.AAA72847>