Message ID | 1538482531-26883-4-git-send-email-anshuman.khandual@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B0C2516B1 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 2 Oct 2018 12:15:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9AFC28884 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 2 Oct 2018 12:15:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DBCE28887; Tue, 2 Oct 2018 12:15:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3988028884 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 2 Oct 2018 12:15:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 216B76B000E; Tue, 2 Oct 2018 08:15:55 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 1C60A6B0010; Tue, 2 Oct 2018 08:15:55 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0DE316B0266; Tue, 2 Oct 2018 08:15:55 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by kanga.kvack.org (Postfix) with ESMTP id E18F16B000E for <linux-mm@kvack.org>; Tue, 2 Oct 2018 08:15:54 -0400 (EDT) Received: by mail-oi1-f200.google.com with SMTP id r68-v6so839667oie.12 for <linux-mm@kvack.org>; Tue, 02 Oct 2018 05:15:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=WftKFTrMoKocwRhcofDhWa/D5kJv43PxT1BODIQgSFE=; b=UYxN9M7GFH+IdTY7dGTvhEdu8hRa4UvFJ5VOQE5mbL0Nu4LS2dpM0CTj7RTZjjSNgc QgA3c9531i3Qn+1g7yt4wkS9bZmDIu7gmlzZi0rXQrhynUEwUVLX8jwVO5S137Y3q83y EnvOuu1ti+FLWnGD0Q+Op3/Ojc9ke0Cy0l+9vSzbDBKXhamUTONEobTVriQ4W2MER8cn vvIBHVjVOxAF4Bn9PK1DBLlAttkjxoZfMHc6bgxaKo1Ed5usy0A25+ltKDs17kjVh9nZ vDLdTC94A8tuMxG2INsShc+Rm6L3z8BaBKWeC+265XTeNJyNX/ZtQ/ofY9a8vFVzs70S ulPQ== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of anshuman.khandual@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com X-Gm-Message-State: ABuFfohFv+P9CqMRVPP1L4hf9Ov6gU1ST3YLhseJDnEDdm3SuN69tGWK GbBdwshhmj+se9n8oMiPBnYOUwb/xU6GCDfkqpxGCYloxmWa/DQ0jPvBoCUlmBqbIOlteKD2CR/ AHC0CGkguCvsAH+nsmdT04JJGbmYY7pYB/j3WVo5+961A6VAT97qzeSdoJMgPDItQSw== X-Received: by 2002:aca:b582:: with SMTP id e124-v6mr6840423oif.119.1538482554730; Tue, 02 Oct 2018 05:15:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV61c23amIY8a51dJH14+4EmJ28LIkz6bnGGIYUBVmcViCSeh27B1LiNpPKfPvWTeCv8pYf6P X-Received: by 2002:aca:b582:: with SMTP id e124-v6mr6840412oif.119.1538482554170; Tue, 02 Oct 2018 05:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538482554; cv=none; d=google.com; s=arc-20160816; b=hUK3GdaW58yPWJo21RpntODqAD8RN29c18V4+0LDS/JlQ9s+TRSnj0dW6mi37Bzum9 RCnwDcAyE6NjadVBDtJqiXZThC4jIydBiIcaQQ4P5d6s4SpA0xBc13yW+LbYCjMALNo2 txWN0Au9AJ9+6Djry0h8kY1Q3/PJ2d2L/uXaF3LVdNto2bSG0mmukxEBiz+jtyh4lACw eta2PRpS84/MPw6oqzW4zccji8XBDrKn3nQb73yWMX5KNH7Eif0VchR3JohTDbZsbPK+ jPybmba2BxnCgWeLW7sZXdu1ZLzEqrLmWTJf2T1trVb47vLA4vsfRt8ps66aFYfuzAzN 2oCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=WftKFTrMoKocwRhcofDhWa/D5kJv43PxT1BODIQgSFE=; b=ilqF5ocqHEw7i3DVE9ooVCttuIbPE2l+iLtRjO/DxOeUx+CEttXJ7byknSRV4bRc4R N1EFcGmSOZ3ObZCI/E2DDZixf2U7Ox4U15kbnaFZnLBvL/Digxrda7sLCjSQcvWIFxKf 1GaU0pNpxjVI3MhG6wemsZ68Dl90mCJFWuwPK4ZaQH+D1xkr92abRL14TYCdv34Hf7if 8zjhztgT6rgWiXX/7BvtCJ2nT2tC51xrHmwEuC7YXZgllBsaEdYJKTxvXPamRdSKd7DM M83ZdeaHeY76R+P1kgS6o1hJyCfMba0IifqCdeBrS2f6wDkpPJNBEGx6NnPnAbsc5YJ7 ZPSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of anshuman.khandual@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com Received: from foss.arm.com (foss.arm.com. [217.140.101.70]) by mx.google.com with ESMTP id j10si1595236otb.180.2018.10.02.05.15.53 for <linux-mm@kvack.org>; Tue, 02 Oct 2018 05:15:53 -0700 (PDT) Received-SPF: pass (google.com: domain of anshuman.khandual@arm.com designates 217.140.101.70 as permitted sender) client-ip=217.140.101.70; Authentication-Results: mx.google.com; spf=pass (google.com: domain of anshuman.khandual@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AC7BF15BF; Tue, 2 Oct 2018 05:15:53 -0700 (PDT) Received: from p8cg001049571a15.arm.com (unknown [10.163.1.117]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4032A3F5B7; Tue, 2 Oct 2018 05:15:50 -0700 (PDT) From: Anshuman Khandual <anshuman.khandual@arm.com> To: linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: suzuki.poulose@arm.com, punit.agrawal@arm.com, will.deacon@arm.com, Steven.Price@arm.com, catalin.marinas@arm.com, mhocko@kernel.org, mike.kravetz@oracle.com, n-horiguchi@ah.jp.nec.com Subject: [PATCH 3/4] arm64/mm: Enable HugeTLB migration Date: Tue, 2 Oct 2018 17:45:30 +0530 Message-Id: <1538482531-26883-4-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538482531-26883-1-git-send-email-anshuman.khandual@arm.com> References: <1538482531-26883-1-git-send-email-anshuman.khandual@arm.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series | arm64/mm: Enable HugeTLB migration | expand |
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 1b1a0e9..e54350f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1305,6 +1305,10 @@ config SYSVIPC_COMPAT def_bool y depends on COMPAT && SYSVIPC +config ARCH_ENABLE_HUGEPAGE_MIGRATION + def_bool y + depends on HUGETLB_PAGE && MIGRATION + menu "Power management options" source "kernel/power/Kconfig"
Let arm64 subscribe to generic HugeTLB page migration framework. Right now this only works on the following PMD and PUD level HugeTLB page sizes with various kernel base page size combinations. CONT PTE PMD CONT PMD PUD -------- --- -------- --- 4K: NA 2M NA 1G 16K: NA 32M NA 64K: NA 512M NA Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> --- arch/arm64/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)