Re: drivers/sound/i810_audio.c bug and patch

From: Mike Fedyk
Date: Thu Sep 04 2003 - 12:57:56 EST


On Thu, Sep 04, 2003 at 12:01:43PM +0100, Alan Cox wrote:
> On Iau, 2003-09-04 at 02:43, Mike Fedyk wrote:
> > > set_current_state(TASK_UNINTERRUPTIBLE);
> > > schedule_timeout(HZ/20);
>
> > Why busy wait especially when you can sleep 1ms each time and poll less?
>
> I think you read it wrong - its sleeping...

Yep, you're right.
-
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/