[lkml]   [2003]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Use %ebp rather than %ebx for thread_info pointer

On Thu, 9 Jan 2003, Luca Barbieri wrote:
> This patch changes assembly code that accesses thread_info to use %ebp
> rather than %ebx.
> This allows me to take advantage of the fact that %ebp is restored by
> user mode in the sysenter register pop removal patch.

Hmm.. Did you check what fork/execve/vm86 do? I know at least the vm86()
stuff sets up %ebx before calling the asm functions in entry.S, I bet
those need to be changed to use %ebp too with something like this.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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