The cpu_relax() call can lower CPU power consumption or yield to a hyperthreaded twin processor.
|
|
|
Given the context:
In this context, I think it means that the 'yield to' is referring to the thread of control in a program moving from the current processor to another 'hyperthreaded twin processor', or to allowing another thread to take over the use of the CPU for the time being. In this context, 'yield' is more a technical term than a simple English term. In a multithreaded processing environment, one thread can 'yield' the processor to other threads when it cannot do anything useful - while waiting for input or for some condition to become true. If the control does transfer to the other processor, the current processor may be able to reduce its power consumption dramatically. In the example code, the processor is waiting for a condition to become true - and is 'busy waiting' (another technical term), but is telling the system that if there is something else that can use the CPU, then it should be allowed to use it. |
|||||
|
|
Yield means, among other things,
The sentence you cite appears to mean that "a hyperthreaded twin processor can override the cpu_relax() call" and force it to abandon its attempt to "lower CPU power consumption" ... If there were more context to your quote (i.e., if you were to post the entire paragraph that contains the quote), it might help to be certain that this is indeed what is meant. |
|||||||||||
|
