[Top] [All Lists]

Re: modular net drivers

To: Philipp Rumpf <prumpf@xxxxxxxx>
Subject: Re: modular net drivers
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Sat, 24 Jun 2000 20:47:33 -0600
Cc: Andrew Morton <andrewm@xxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxxx>, Keith Owens <kaos@xxxxxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: <>
References: <> <20000623164805.AA5BB8154@halfway> <> <> <> <> <> <>
Sender: owner-netdev@xxxxxxxxxxx
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.


Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>