From owner-freebsd-arch Sat Aug 18 14:17:57 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 7B6AD37B411; Sat, 18 Aug 2001 14:17:48 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.4/8.11.3) with ESMTP id f7ILM5S01713; Sat, 18 Aug 2001 14:22:05 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200108182122.f7ILM5S01713@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Christoph Hellwig Cc: Mike Smith , Matthew Jacob , Amit Shah , freebsd-arch@FreeBSD.ORG Subject: Re: threaded device drivers In-reply-to: Your message of "Sat, 18 Aug 2001 22:08:23 +0200." <20010818220823.C8481@caldera.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Aug 2001 14:22:05 -0700 From: Mike Smith Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > But entirely unnecessary, since we can already create threads in the > > kernel, as I pointed out earlier. See the kthread* family of functions. > > I know kthread ;) The differnce is just that you need an entire > thread this way - threads are eating up far too much ressources > (e.g. kernel stack) for certain types of problems. Er. Yeah, whatever. 8) > A way to just > execute some function in user context is a very nice appropeach > for lots of the smaller stuff. Some people might also remeber > NetWare's WorkToDo's that can do this stuff combines with wait queues. ... which is basically what taskqueue is. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message