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

From: Alan Cox
Date: Thu Sep 04 2003 - 06:04:41 EST


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

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