[CRIU] [PATCH] arch, x86: int80 -- Clobber all rX registers

Dmitry Safonov 0x7f454c46 at gmail.com
Tue Jan 15 17:06:30 MSK 2019


On Tue, 15 Jan 2019 at 11:08, Cyrill Gorcunov <gorcunov at gmail.com> wrote:
>
> While vanilla kernel requires only r8-r11 to be saved
> by a caller when doing int80 interrupt we've discovered
> some buggy kernels which may not follow the rule, thus
> to be able to checkpoint programs on such kernels we
> mark all rX registers as clobbered to be on a safe side.

Some more details would be appreciated.
What kind of kernels is it about?
Is there a redhat patch that changes this ABI?
Worth a reference?

It's not that I'm against - probably performance penalty on
mainstream from pushing a couple of registers more on the stack
apriori syscalls is small(?), but the commit message could
be improved.

-- 
             Dmitry


More information about the CRIU mailing list