Date: Tue, 23 Jan 2001 11:05:19 -0800 (PST) From: John Baldwin <jhb@FreeBSD.ORG> To: Alfred Perlstein <bright@wintelcom.net> Cc: Bruce Evans <bde@zeta.org.au>, arch@FreeBSD.ORG, Dag-Erling Smorgrav <des@ofug.org> Subject: Re: Second zone allocator patch Message-ID: <XFMail.010123110519.jhb@FreeBSD.org> In-Reply-To: <20010123105448.T26076@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23-Jan-01 Alfred Perlstein wrote: > * John Baldwin <jhb@FreeBSD.ORG> [010123 10:28] wrote: >> Yes, but the zone allocator can just use normal mutexes and achieve this. >> No >> need for spin mutexes. Also, to help with the problem of a software or >> hardware interrupt handler blocking and stalling other interrups, Jake and I >> have toyed with the notion of creating a new kthread to run the other >> handlers >> when an ithread blocks on a mutex, so that the other handlers wouldn't be >> broken. For hardware interrupts, this would require a refcount on the >> intrhand >> "interrupt source" so that the interrupt can be re-enabled when the refcount >> hits 0. However, this is only in conceptual stage right now, and as an >> optimizaation, is a bit down the priority list. > > Hmm, sort of like my suggestion at BAFUG but slower and with more > context switches? :) I really don't think you want multiple hardware > interrupts, but having multiple software interrupts is needed to > provide SMP scalability of the network stack. It would only kick in during a mutex block, i.e. in ithd_fixup() when we get to the point that that exists. However, stuff like this is not something to be worrying about anytime soon. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010123110519.jhb>