public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Peter Chubb <peterc@gelato.unsw.edu.au>
Cc: Arnd Bergmann <arnd@arndb.de>, Martin Peschke <mp3@de.ibm.com>,
	Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, hch@infradead.org,
	arjan@infradead.org, James.Smart@emulex.com,
	James.Bottomley@steeleye.com
Subject: Re: [RFC] [Patch 7/8] statistics infrastructure - exploitation prerequisite
Date: Wed, 17 May 2006 03:27:51 +0200	[thread overview]
Message-ID: <200605170327.52605.ak@suse.de> (raw)
In-Reply-To: <17514.31511.386806.484792@wombat.chubb.wattle.id.au>


> Anrd> - do_gettimeofday
> Anrd>   potentially slow, reliable TOD clock, microsecond resolution
> 
> Slow, not necessarily safe to call in IRQ context.

It's only slow if the platform can't do better. On good hardware it is 
fast. And yes it is safe to call in IRQ context. Networking does 
that all the time.

If the hardware doesn't have a good working timer for gettimeofday 
then everything else will be also slow. 

-Andi

  reply	other threads:[~2006-05-17  1:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 17:47 [RFC] [Patch 7/8] statistics infrastructure - exploitation prerequisite Martin Peschke
2006-05-16 18:28 ` Andrew Morton
2006-05-16 22:36   ` Martin Peschke
2006-05-16 23:03     ` Arnd Bergmann
2006-05-17  1:23       ` Peter Chubb
2006-05-17  1:27         ` Andi Kleen [this message]
2006-05-17  1:43           ` Peter Chubb
2006-05-17  2:24             ` Christoph Lameter
2006-05-17  1:13     ` Peter Chubb
2006-05-17  2:32   ` Nick Piggin

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=200605170327.52605.ak@suse.de \
    --to=ak@suse.de \
    --cc=James.Bottomley@steeleye.com \
    --cc=James.Smart@emulex.com \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=arnd@arndb.de \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mp3@de.ibm.com \
    --cc=peterc@gelato.unsw.edu.au \
    /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