Messages in this thread | | | Date | Tue, 20 Jul 1999 03:33:04 -0400 (EDT) | From | Ingo Molnar <> | Subject | Re: [PATCH] 2.3.11-5 Lazy TLB fixes/__switch_to bug |
| |
On Tue, 20 Jul 1999, Benjamin C.R. LaHaise wrote:
> 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/
| |