Message ID | 1539316799-6064-5-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 5ABA1933 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 12 Oct 2018 04:00:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A7692BDF0 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 12 Oct 2018 04:00:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3ECFB2BE0B; Fri, 12 Oct 2018 04:00:45 +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 C96772BDF0 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 12 Oct 2018 04:00:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A7C1B6B0266; Fri, 12 Oct 2018 00:00:43 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id A2A4C6B0269; Fri, 12 Oct 2018 00:00:43 -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 8F3816B026B; Fri, 12 Oct 2018 00:00:43 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ot1-f71.google.com (mail-ot1-f71.google.com [209.85.210.71]) by kanga.kvack.org (Postfix) with ESMTP id 64CDE6B0266 for <linux-mm@kvack.org>; Fri, 12 Oct 2018 00:00:43 -0400 (EDT) Received: by mail-ot1-f71.google.com with SMTP id m91so2716409otc.17 for <linux-mm@kvack.org>; Thu, 11 Oct 2018 21:00:43 -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=gDRmm+THLs86rCAPEzgcrmNYOwhMqielB7TOVFJui0vsiBWNPORyIo8GAuZ9LdOKkg gBWInmP5xlbrNODgK2JcIxYxoPEL0iQwBalGwpk9cuJIag7/VJ6V/zwyaW/dEQHi49Mm eLLBU+ojk7Q+qUconA2u6NpZjAzdT1f97TsCHx+n4NvX85OCTaovJaz6WKZxGO3qPF9n JTnOgejNTmH7N4KsSdRvDxkSMtVcNZmLrZg1txBuA7no9WTIhboNpnZzz56716wWrEMr RwslH+m9vGjvCUew676qKcCl+3h2HjzdnZG8bqJUYpmmn4hSF0m4TUHx4HFPADMNtwQ8 TNQA== 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: ABuFfog9iLQk96wDK4C4LSjZbxSVni6aLhmIZVCg0C0kjkb89z9zPFMw 3b2iWmYNXLXyrXmlv13xlGlR5CsMESXqh4dlLrqexfZSMgQrAzvW8Mxljaspk2zJOLg72P20a0+ jvTuaWwJHMib1OEAwanQL5wvA+es9eCWG1GNwwknuz3j1XSw5r3EFfXw1xyzY2r4KYA== X-Received: by 2002:a9d:97:: with SMTP id w23mr2597215oti.185.1539316843218; Thu, 11 Oct 2018 21:00:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV61YXL574Z1eys78vURieQuUStxEvaiCBcBo1LmtU11cVIJKLbk2BqTzQPvDcIZi0AuXbhUK X-Received: by 2002:a9d:97:: with SMTP id w23mr2597191oti.185.1539316842752; Thu, 11 Oct 2018 21:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539316842; cv=none; d=google.com; s=arc-20160816; b=rqcKmBV0NqlpMp+CtGHrRvykOKknymb+79iJ8lKBhcDfjU6s5OLJir+97ak8ZMgArA FrTW4YwJ1b4f6517wmw6qQJBd8RqUsvCogBkA4UnnDhfQNq59oMr52tl+UicrNA1pIJ3 VeSCO9/STjZEoiW8n8sD1tdUWAcfEakPyQAH+P7ESmjpb+6M8azKXoQs8tNnR+1fNHiM LQujfQ5nrIJ1tnbHMZ6BFRioL/11AnpSTRSgaJQC79y1wftwLqe8TEd0FcCUdlPIb4D1 LILtvIZ/qcLWAKBMtoc91KleNBuMB3ou633f40J1qDjnIVvIR563qt7ZG3WdzBg48Urc Gd4g== 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=TPkeXOarFDkGuP2b12WyM9zoLt++anor8w8jZ4qSlt6TV0Hue/YHkVrVE4UuxKSeaR tC4TbMmmXl6hx12ti3tX3oyjdYxAC9sqXmfSRjlTqq7JixVHj3/1glbPmARyxdMzNDun 4PyKRX+u/2AzA052jJmC9QWbxB6D5eloJUIy9Kv7lgz0Y+QsKB2TfknOm/bfj5Ohqgz7 1VKxn7pctjH/OzkS8z0vAbabsJRGbyx2TvSXqBJsRxGvPkM+TUnvVgkq7lS9AKWXHSlX ejcGA4ltYg27Lkep3/iih5pJ5WmmiFjkMiEjKiB+uPpQIXDi0mWd05JkTRtPd9F6dq5y uMfg== 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 (usa-sjc-mx-foss1.foss.arm.com. [217.140.101.70]) by mx.google.com with ESMTP id g60si6041631otg.312.2018.10.11.21.00.42 for <linux-mm@kvack.org>; Thu, 11 Oct 2018 21:00:42 -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 6B9331684; Thu, 11 Oct 2018 21:00:42 -0700 (PDT) Received: from p8cg001049571a15.blr.arm.com (p8cg001049571a15.blr.arm.com [10.162.0.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A3B183F5B7; Thu, 11 Oct 2018 21:00:38 -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, steve.capper@arm.com, catalin.marinas@arm.com, mhocko@kernel.org, akpm@linux-foundation.org, mike.kravetz@oracle.com, n-horiguchi@ah.jp.nec.com Subject: [PATCH V2 4/5] arm64/mm: Enable HugeTLB migration Date: Fri, 12 Oct 2018 09:29:58 +0530 Message-Id: <1539316799-6064-5-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539316799-6064-1-git-send-email-anshuman.khandual@arm.com> References: <1539316799-6064-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(+)