Re: [patch] entry.S asm improvement (removed some ugly jmp)

Andrea Arcangeli (andrea@e-mind.com)
Sat, 28 Nov 1998 03:10:02 +0100 (CET)


On Sat, 28 Nov 1998, Kurt Garloff wrote:

>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/