Re: [PATCH 17/39] clobber rbx in putuser_64.S

From: Glauber Costa
Date: Mon Jun 30 2008 - 17:44:59 EST


This is a multi-part message in MIME format.Andi Kleen wrote:
Glauber Costa <gcosta@xxxxxxxxxx> writes:

Instead of clobbering r8, clobber rbx, which is the i386 way.

Note rbx is callee saved on 64bit, so using that one means
the surrounding function always has to save explicitely.
Not the case with r8.

There's a reason it is the way it is.

-Andi

Andi, how about this one ?