All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Andi Kleen <ak@muc.de>
Cc: Andreas Mohr <andi@rhlx01.fht-esslingen.de>,
	Dmitry Torokhov <dtor@insightbb.com>,
	Rusty Russell <rusty@rustcorp.com.au>,
	lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Turn rdmsr, rdtsc into inline functions, clarify names
Date: Mon, 7 Aug 2006 18:04:32 +0200	[thread overview]
Message-ID: <20060807160432.GA16695@suse.cz> (raw)
In-Reply-To: <20060807155714.GA3075@muc.de>

On Mon, Aug 07, 2006 at 05:57:14PM +0200, Andi Kleen wrote:
> > That way a driver could use
> > 
> > 	if (gtod_cpu_cycles_needed <= 500)
> > 		gettimeofday();
> > 	else
> > 		funky_fast_workaround();
> 
> Sounds like overengineering to me. I prefer something simple.

I could as well benchmark gettimeofday() in the gameport init.

> > OK, in total we have at least four ways of doing this:
> 
> Please don't get carried away with this. I'm really not interested
> in any complex solutions here.


-- 
Vojtech Pavlik
Director SuSE Labs

  reply	other threads:[~2006-08-07 16:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1154771262.28257.38.camel@localhost.localdomain>
2006-08-06  2:38 ` [PATCH] Turn rdmsr, rdtsc into inline functions, clarify names Andi Kleen
2006-08-06  2:56   ` Rusty Russell
2006-08-06  2:58     ` H. Peter Anvin
2006-08-06  3:09       ` Rusty Russell
2006-08-06  3:11         ` H. Peter Anvin
2006-08-06  3:49           ` Rusty Russell
2006-08-06  3:16     ` Andi Kleen
2006-08-06  3:52       ` Rusty Russell
2006-08-06 14:58         ` Andi Kleen
2006-08-07  2:43       ` Dmitry Torokhov
2006-08-07  8:48         ` Andi Kleen
2006-08-07 11:09           ` Vojtech Pavlik
2006-08-07 12:28             ` Andi Kleen
2006-08-07 12:48               ` Vojtech Pavlik
2006-08-07 12:56                 ` Andi Kleen
2006-08-07 13:18                   ` Vojtech Pavlik
2006-08-07 13:32                   ` Dmitry Torokhov
2006-08-07 15:01                     ` Andi Kleen
2006-08-07 15:19                   ` Andreas Mohr
2006-08-07 15:57                     ` Andi Kleen
2006-08-07 16:04                       ` Vojtech Pavlik [this message]
2006-08-07 16:12                         ` Andi Kleen
2006-08-07 19:22                           ` Vojtech Pavlik
2006-08-14 20:13                 ` Pavel Machek
2006-08-07 11:07         ` Vojtech Pavlik

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=20060807160432.GA16695@suse.cz \
    --to=vojtech@suse.cz \
    --cc=ak@muc.de \
    --cc=andi@rhlx01.fht-esslingen.de \
    --cc=dtor@insightbb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.