From owner-freebsd-arch Sat Aug 18 12:48:44 2001 Delivered-To: freebsd-arch@freebsd.org Received: from ns.caldera.de (ns.caldera.de [212.34.180.1]) by hub.freebsd.org (Postfix) with ESMTP id 9656337B405; Sat, 18 Aug 2001 12:48:41 -0700 (PDT) (envelope-from hch@ns.caldera.de) Received: (from hch@localhost) by ns.caldera.de (8.11.1/8.11.1) id f7IJmQc09991; Sat, 18 Aug 2001 21:48:26 +0200 Date: Sat, 18 Aug 2001 21:48:26 +0200 From: Christoph Hellwig To: Matthew Jacob Cc: Mike Smith , Amit Shah , freebsd-arch@FreeBSD.ORG Subject: Re: threaded device drivers Message-ID: <20010818214826.B8481@caldera.de> References: <200108181014.f7IAE4J10122@mass.dis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mjacob@feral.com on Sat, Aug 18, 2001 at 08:38:09AM -0700 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 On Sat, Aug 18, 2001 at 08:38:09AM -0700, Matthew Jacob wrote: > No, that's not what I wanted to do. I wanted full process context that allows > me to do tsleeps, etc., although it could probably done via a taskq mechanism > if I went to the effort to rewrite it as a set of taskqueue calls while in > 'rebuild' state. You might want to take a look at Linux's schedule_task family of cuntions (kernel/context.c) - it should be straight forward to implement for FreeBSD. Christoph -- Christoph Hellwig Kernel Engineer Unix/Linux Integration Caldera Deutschland GmbH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message