lkml.org 
[lkml]   [1999]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.038 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site