From: Thomas Gleixner <tglx@linutronix.de>
To: "Stone, Joshua I" <joshua.i.stone@intel.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: RE: [PATCH] provide hrtimer exports for module use [Was: Exportsfor hrtimer APIs]
Date: Tue, 14 Mar 2006 23:49:07 +0100 [thread overview]
Message-ID: <1142376547.19916.673.camel@localhost.localdomain> (raw)
In-Reply-To: <CBDB88BFD06F7F408399DBCF8776B3DC06A92C2B@scsmsx403.amr.corp.intel.com>
On Tue, 2006-03-14 at 14:34 -0800, Stone, Joshua I wrote:
> Thomas Gleixner wrote:
> > What means "more for defining intervals" ? Which intervals (period in
> > ms)? What are the timers used for ?
>
> The user can write a block of code that they would like to be executed
> repeatedly in fixed intervals. A trivial example might look like this:
> probe timer.ms(10) { flush_data(); }
>
> This would flush the data every 10ms.
>
> A example of polling might be:
> probe timer.ms(1) { log(scheduler_queue_length()); }
>
> I hope this answers your questions...
Not all all.
I have no clue where the block of code written by the user is executed
and why it needs exports. When a user writes code he can use the
existing userpsace interfaces, so why does the module need that
exports ?
tglx
next prev parent reply other threads:[~2006-03-14 22:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-14 22:34 Stone, Joshua I
2006-03-14 22:49 ` Thomas Gleixner [this message]
2006-03-14 23:31 [PATCH] provide hrtimer exports for module use [Was:Exportsfor " Stone, Joshua I
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=1142376547.19916.673.camel@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=akpm@osdl.org \
--cc=joshua.i.stone@intel.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
Powered by JetHome