From owner-freebsd-smp Thu Oct 5 19:45: 4 2000 Delivered-To: freebsd-smp@freebsd.org Received: from berserker.bsdi.com (berserker.twistedbit.com [199.79.183.1]) by hub.freebsd.org (Postfix) with ESMTP id 5A5F437B502 for ; Thu, 5 Oct 2000 19:45:02 -0700 (PDT) Received: from berserker.bsdi.com (cp@localhost [127.0.0.1]) by berserker.bsdi.com (8.9.3/8.9.3) with ESMTP id UAA09999; Thu, 5 Oct 2000 20:44:53 -0600 (MDT) Message-Id: <200010060244.UAA09999@berserker.bsdi.com> To: "Matthew N. Dodd" Cc: freebsd-smp@freebsd.org Subject: Re: Problems with kthread_exit() and SMPng In-reply-to: Your message of "Thu, 05 Oct 2000 21:53:11 EDT." From: Chuck Paterson Date: Thu, 05 Oct 2000 20:44:53 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew, I actaully have started down this path, but other work keeps getting in the way. I'm actually feeling kind of guilty about not being able to find time to work on this. My basic idea was to make a soft int thread that could be used to get the stuff out. Have a spin lock protected the queue at the kvprintf level. Just going to memory can just happen as it does now. Other requests would go into a buffer to be printed by the soft interrupt. I think this can get rid of all the lock ordering problems we are about to run into. Please don't let this note stop you from working on this. If you have the time go for it. I'll be glad to support anybody that has the cycles to work on this. Chuck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message