From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753742AbcKARL7 (ORCPT ); Tue, 1 Nov 2016 13:11:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49870 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751414AbcKARLO (ORCPT ); Tue, 1 Nov 2016 13:11:14 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org F076A62329 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=cov@codeaurora.org From: Christopher Covington To: criu@openvz.org, Will Deacon , linux-mm@kvack.org, Laurent Dufour Cc: Christopher Covington , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC v2 4/7] arm64: Use generic VDSO unmap and remap functions Date: Tue, 1 Nov 2016 11:10:58 -0600 Message-Id: <20161101171101.24704-4-cov@codeaurora.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161101171101.24704-1-cov@codeaurora.org> References: <20161101171101.24704-1-cov@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Checkpoint/Restore In Userspace (CRIU) must be able to remap and unmap the Virtual Dynamic Shared Object (VDSO) to be able to handle the changing addresses that result from address space layout randomization. Now that generic support is available and arm64 has adopted unsigned long for the type of mm->context.vdso, opt-in to VDSO unmap and remap support. Signed-off-by: Christopher Covington --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 969ef88..534df3f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -50,6 +50,7 @@ config ARM64 select GENERIC_STRNCPY_FROM_USER select GENERIC_STRNLEN_USER select GENERIC_TIME_VSYSCALL + select GENERIC_VDSO select HANDLE_DOMAIN_IRQ select HARDIRQS_SW_RESEND select HAVE_ALIGNED_STRUCT_PAGE if SLUB -- Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.