> The sidebar continues with other indictments of Linux, including:
> "the scheduler cannot preempt the kernel," and "the Linux kernel is
That is still right for 2.1.X. There's cooperative scheduling inside
kernel. There's no problem with it, as our kernel is small enough.
> I'm working up a letter to NT Magazine's editors, but I'd like to
> make sure I have all my ducks in a row:
>
> First, the 2.1.129 linux/Documentation/spinlocks.txt implies
> that 2.2's kernel is both re-entrant and can preempt itself.
Don't think so: kernel can run on two CPU's at same time, but it does
_not_ preempt itself. You have to do schedule() if you explicitly want
to be preempted.
Pavel
-- I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/