[CRIU] [PATCH] Wire up AArch64 TLS dump and restore

Christopher Covington cov at codeaurora.org
Tue Mar 4 07:31:19 PST 2014


On 03/02/2014 01:24 PM, Cyrill Gorcunov wrote:
> On Sun, Mar 02, 2014 at 05:59:34PM +0000, Aleksandr Kartashov wrote:
>>> 1) The vDSO area in arm created by the kernel during process startup, right?
>> Yes it is. Note we are talking about AArch64 --- there's no vDSO in the 32bit Linux for ARM.
>>
>>> 2) The vDSO area is placed at pedefined address or it's random address?
>> It's loaded at a random location every time.
> 
> Sigh. So it seems we need to patch the kernel then :( We can't allow that "restore"
> procedure would sometime fail.

I've been running with the norandmaps kernel parameter because I don't want
run-to-run variability when profiling things and I haven't noticed this
problem. I suspect it's providing an accidental workaround.

Christopher

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.


More information about the CRIU mailing list