Re: Delay in a tasklet.

2005-03-31 Thread Mark Gross
On Tuesday 29 March 2005 07:20, Bouchard, Sebastien wrote: > Hi, > > I'm in the process of writing a linux driver and I have a question in > regards to tasklet : > > Is it ok to have large delay "udelay(1000);" in the tasklet? > > If not, what should I do? > If the hardware can tolerate longer a l

Re: Delay in a tasklet.

2005-03-30 Thread linux-os
On Wed, 30 Mar 2005, Davide Rossetti wrote: Bouchard, Sebastien wrote: Hi, I'm in the process of writing a linux driver and I have a question in regards to tasklet : Is it ok to have large delay "udelay(1000);" in the tasklet? If not, what should I do? Please send the answer to me personally (I'm n

Re: Delay in a tasklet.

2005-03-30 Thread tvrtko . ursulin
On 30/03/2005 12:50:01 linux-kernel-owner wrote: >> I'd be interested in the answer as well. I have a driver which does >> udelay(100), so no 1000 but anyway, and of course I end up having the X86_64 >> kernel happily crying. I'm moving to a little state-machine to allow for a >> multi-pass appr

Re: Delay in a tasklet.

2005-03-30 Thread Jan Engelhardt
> I'd be interested in the answer as well. I have a driver which does > udelay(100), so no 1000 but anyway, and of course I end up having the X86_64 > kernel happily crying. I'm moving to a little state-machine to allow for a > multi-pass approach instead of busy-polling.. > regards schedule_timeo

Re: Delay in a tasklet.

2005-03-30 Thread Davide Rossetti
Bouchard, Sebastien wrote: Hi, I'm in the process of writing a linux driver and I have a question in regards to tasklet : Is it ok to have large delay "udelay(1000);" in the tasklet? If not, what should I do? Please send the answer to me personally (I'm not subscribe to the mailling list) : I'

Delay in a tasklet.

2005-03-29 Thread Bouchard, Sebastien
Hi, I'm in the process of writing a linux driver and I have a question in regards to tasklet : Is it ok to have large delay "udelay(1000);" in the tasklet? If not, what should I do? Please send the answer to me personally (I'm not subscribe to the mailling list) : Sebastien Bouchard Software