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

From: Jeff Garzik
Date: Tue Oct 05 2004 - 20:58:45 EST


On Tue, Oct 05, 2004 at 09:52:55PM -0400, Robert Love wrote:
> On Tue, 2004-10-05 at 21:40 -0400, Jeff Garzik wrote:
>
> > And with preempt you're still hiding stuff that needs fixing. And when
> > it gets fixed, you don't need preempt.
> >
> > Therefore, preempt is just a hack that hides stuff that wants fixing anyway.
>
> This actually sounds like the argument for preempt, and against

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


> sprinkling cond_resched() hacks all over the kernel.

cond_resched() is not the only solution.

Jeff



-
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/