[CRIU] [PATCH 11/22] restorer: wrapped the assembly calling sys_rt_sigreturn into the macro ARCH_RT_SIGRETURN

Cyrill Gorcunov gorcunov at openvz.org
Fri Dec 28 04:23:57 EST 2012


On Fri, Dec 28, 2012 at 01:06:57PM +0400, Pavel Emelyanov wrote:
> On 12/28/2012 01:00 PM, Alexander Kartashov wrote:
> > On 12/28/2012 12:54 PM, Pavel Emelyanov wrote:
> >> I'd prefer seeing this in some .S file, rather than in a header. How complex
> >> would it be to do so?
> > 
> > We will have to implement C calling convention by hand
> > for every supported architecture if it goes there.
> 
> I see.
> 
> > Is it OK to do this?
> 
> Let's do the following -- for now keep this as macro, but some time
> later, in the background, move it into a .S file.

I think moving a couple of instruction into .S file actually doesn't worth
much. When being working on restorer redesign I've implemented the following
patch (just for info).

	Cyrill
---


More information about the CRIU mailing list