On Mer, 2003-08-13 at 18:15, Ian Romanick wrote:
> > 
> > Are you actually using the gamma driver? :) Something like this might be
> > useful in other drivers as well?
> 
> What exactly *is* cpu_relax?  Is it available on older kernels as well? 
>   I'm not sure how useful it would be because I don't think many (any?) 
> of the other drivers busy-wait inside the kernel.  It would be worth 
> checking, though.

Its been around quite some time. cpu_relax() is an architecture
dependant function for executing when we are not making progress. In the
x86 case it comes out as "rep nop" which mostly tells hyperthreading
CPU's that now is a good time to give the other CPU threads a go



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to