> out that __switch_to wasn't preserving prev in %eax -- fixed by returning
> prev from __switch_to. While I was at it, I made schedule_tail a FASTCALL
__switch_to doesnt have to preserve %eax. We preserve 'prev' by putting it
into %ebx (check out the switch_to() macro), and we reload prev from %ebx
afterwards. %ebx has to be callee-saved. A bit subtle i agree.
-- mingo
-
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/