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

Pavel Emelyanov xemul at parallels.com
Tue Mar 18 23:42:54 PDT 2014


On 03/18/2014 09:05 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>

Applied, thanks everyone.


More information about the CRIU mailing list