public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Gross <mgross@linux.intel.com>
To: "Bouchard, Sebastien" <Sebastien.Bouchard@ca.kontron.com>,
	"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: Delay in a tasklet.
Date: Thu, 31 Mar 2005 10:48:25 -0800	[thread overview]
Message-ID: <200503311048.25674.mgross@linux.intel.com> (raw)
In-Reply-To: <5009AD9521A8D41198EE00805F85F18F054EA085@sembo111.teknor.com>

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 longer or variable delays, then perhaps 
putting the work that has the large delay on a one shot timer would work?

If that doesn't cut it, then I wonder if you could structure your taskelt 
processing around a kernel thread.

Is this for 2.6 or 2.4 based kernels?

--mgross


  parent reply	other threads:[~2005-03-31 18:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-29 15:20 Delay in a tasklet Bouchard, Sebastien
2005-03-30 10:15 ` Davide Rossetti
2005-03-30 11:50   ` Jan Engelhardt
2005-03-30 13:57   ` linux-os
2005-03-31 18:48 ` Mark Gross [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-30 12:01 tvrtko.ursulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503311048.25674.mgross@linux.intel.com \
    --to=mgross@linux.intel.com \
    --cc=Sebastien.Bouchard@ca.kontron.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox