public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Michel D?nzer <michel@daenzer.net>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org,
	dri-devel@lists.sourceforge.net
Subject: Re: [Dri-devel] [PATCH] cpu_relax whilst in busy-wait loops.
Date: Wed, 13 Aug 2003 13:13:22 +0100	[thread overview]
Message-ID: <20030813121322.GE12953@redhat.com> (raw)
In-Reply-To: <1060770126.26452.142.camel@thor.holligenstrasse29.lan>

On Wed, Aug 13, 2003 at 12:22:06PM +0200, Michel D?nzer wrote:
 > > -	while ( GAMMA_READ(GAMMA_INFIFOSPACE) < 2);
 > > +	while ( GAMMA_READ(GAMMA_INFIFOSPACE) < 2)
 > > +		cpu_relax();
 > 
 > Are you actually using the gamma driver? :) Something like this might be
 > useful in other drivers as well?

No, I just stumbled across this, and remembered seeing a similar
patch some time earlier.  Indeed, there are probably other places in
DRI that need the same treatment.

		Dave

-- 
 Dave Jones     http://www.codemonkey.org.uk

      reply	other threads:[~2003-08-13 12:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-11 13:40 [PATCH] cpu_relax whilst in busy-wait loops davej
2003-08-13 10:22 ` [Dri-devel] " Michel Dänzer
2003-08-13 12:13   ` Dave Jones [this message]

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=20030813121322.GE12953@redhat.com \
    --to=davej@redhat.com \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michel@daenzer.net \
    --cc=torvalds@transmeta.com \
    /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