[CRIU] [PATCH 2/8] [v2] cr: generalize the type to store the value of the TLS register

Alexander Kartashov alekskartashov at parallels.com
Tue Mar 18 10:03:56 PDT 2014


On 03/18/2014 09:00 PM, Alexander Kartashov wrote:
> Supported machine architectures provide TLS stogares of different sizes:
> the size of the TLS storage in x86-64 is 24 bytes, ARM --- 4 bytes
> and upcoming AArch64 --- 8 bytes. This means every supported architecture
> needs a specific type to store the value of the TLS register.
>
> This patch reworks the insterface of the routines arch_get_tls()
> and restore_tls() passing them the TLS storage by pointer
> rather than by value to simplify the TLS stub for x86.
>
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
I'm sorry, please drop this.

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list