Received: by oss.sgi.com id ; Sat, 24 Jun 2000 19:48:23 -0700 Received: from vindaloo.ras.ucalgary.ca ([136.159.55.21]:50615 "EHLO vindaloo.ras.ucalgary.ca") by oss.sgi.com with ESMTP id ; Sat, 24 Jun 2000 19:48:08 -0700 Received: (from rgooch@localhost) by vindaloo.ras.ucalgary.ca (8.10.0/8.10.0) id e5P2lX217879; Sat, 24 Jun 2000 20:47:33 -0600 Date: Sat, 24 Jun 2000 20:47:33 -0600 Message-Id: <200006250247.e5P2lX217879@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: Philipp Rumpf Cc: Andrew Morton , Rusty Russell , Keith Owens , Alan Cox , "netdev@oss.sgi.com" Subject: Re: modular net drivers In-Reply-To: <20000624194506.B25473@fruits.uzix.org> References: <20000624093548.A31621@puffin.external.hp.com> <20000623164805.AA5BB8154@halfway> <3954262D.60BDEF41@uow.edu.au> <20000624080106.A25102@fruits.uzix.org> <3954D42A.938A724B@uow.edu.au> <200006241548.e5OFmiC09138@vindaloo.ras.ucalgary.ca> <39556E6E.DE0DAA90@uow.edu.au> <20000624194506.B25473@fruits.uzix.org> Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing Philipp Rumpf writes: > On Sun, Jun 25, 2000 at 12:29:02PM +1000, Andrew Morton wrote: > > My patch was quite bogus, of course :( We can have as many threads as > > we like spinning and the scheduler will cheerfully timeslice between > > them. > > Oh ? I wasn't aware kernel_threads could be rescheduled, unlike > normal kernel code, and in fact I still don't see how they would. They can't. Once you're running in the kernel, you can't be pre-empted by another thread, unless you sleep or otherwise call schedule(). You don't even need to have RT priority to pin a cpu like this. Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca