>Always pair CALL and RETURN
>---------------------------
>If CALLs and RETs are not paired, the return address stack gets out of
>synchronization, increasing the latency of returns and decreasing
>performance.
>
>
>Hope this helps.
OK, thanks.
But switch_to()/__switch_to() (include/asm-i386/system.h) uses an impair
number of call/ret. Why? Am I missing something (maybe because it' s too
late ;).
Andrea Arcangeli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/