volatile is a C keyword, and programmers know better than using asm as an identifier. Why do people insist on using double underscores around them, especially Linux kernel developers?
Also, why do people use things like __attribute__((aligned(n))) instead of defining a macro ALIGNED(n)?
Name:
F r o z e n V o i d !!mJCwdV5J0Xy2A212011-12-07 16:17
The right
>way to perform a busy wait is:
> while (my_variable != what_i_want)
> cpu_relax();
Name:
F r o z e n V o i d !!mJCwdV5J0Xy2A212011-12-07 16:32
>>16
Not writing yourself into such "busy waiting" parts in the first place.
make program which don't depend on var A being checked, and instead continue the rest of the program