Date: Sat, 18 Aug 2001 12:56:19 -0700 From: Mike Smith <msmith@freebsd.org> To: Christoph Hellwig <hch@caldera.de> Cc: Matthew Jacob <mjacob@feral.com>, Mike Smith <msmith@FreeBSD.ORG>, Amit Shah <amitshah@techie.com>, freebsd-arch@FreeBSD.ORG Subject: Re: threaded device drivers Message-ID: <200108181956.f7IJuJS00930@mass.dis.org> In-Reply-To: Your message of "Sat, 18 Aug 2001 21:48:26 %2B0200." <20010818214826.B8481@caldera.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 allo > ws > > me to do tsleeps, etc., although it could probably done via a taskq mechani > sm > > 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. But entirely unnecessary, since we can already create threads in the kernel, as I pointed out earlier. See the kthread* family of functions. -- ... 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108181956.f7IJuJS00930>