Re: I made a patch and would like feedback/testers(drivers/cdrom/aztcd.c)

From: Thomas Gleixner
Date: Sun Nov 20 2005 - 12:10:20 EST


On Sun, 2005-11-20 at 16:38 +0100, Arjan van de Ven wrote: > }
> > + schedule_timeout_interruptible(1);
>
> this I think is not quite right; schedule_timeout_*() doesn't do
> anything unless you set current->state to something.

Err, schedule_timeout_(un)interruptible sets current->state.

tglx


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