Re: Preempt? (was Re: Cannot enable DMA on SATA drive(SCSI-libsata, VIA SATA))

From: Robert Love
Date: Tue Oct 05 2004 - 21:10:20 EST


On Tue, 2004-10-05 at 21:55 -0400, Jeff Garzik wrote:

> As opposed to fixing drivers??? Please fix the drivers and code first.

No, definitely not, dude. Fixes for anything--drivers include--is never
superseded by anything else, even the eternal quest for "low latency."

> > sprinkling cond_resched() hacks all over the kernel.
>
> cond_resched() is not the only solution.

Indeed. Most other solutions (fixing algorithms, lowering lock hold
time) have "automatic" benefits with kernel preemption, though, and that
has been what I have always advocated.

Robert Love


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/