[CRIU] [PATCH 3/8] vdso: share the vDSO proxy initialization between all architectures

Christopher Covington cov at codeaurora.org
Tue Mar 11 13:06:57 PDT 2014


On 03/10/2014 04:51 AM, Alexander Kartashov wrote:
> This patch splits the file arch/x86/vdso.c into machine-independent
> and machine-dependent parts by moving the routine vdso_init()
> from the file vdso.c. The routine seems to be suitable for all
> architectures supporting the vDSO.
> 
> The ARM version of the routine is moved to the source vdso-stub.c
> that is supposed to be the vDSO proxy stub implementation for
> architectures that don't provide the vDSO. The build scripts are
> adjusted as well to enable selection between the full-fledged
> and stub vDSO proxy implementations.
> 
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> Cc: Cyrill Gorcunov <gorcunov at openvz.org>

Looks fine to me, although I'm quite new to the topic. The stub may not be
needed for long:

https://lwn.net/Articles/585203/

Review-by: Christopher Covington <cov at codeaurora.org>

-- 
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