Received: by 10.192.165.148 with SMTP id m20csp1876901imm; Thu, 26 Apr 2018 03:38:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx49lcqCWEeDHhiSOoC+7rzo3LZCL3VPmO62NKLMa61i/2jj7nOkhv9uoI8+nNcnaE0MH0Mwp X-Received: by 10.101.97.136 with SMTP id c8mr11483770pgv.131.1524739132950; Thu, 26 Apr 2018 03:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524739132; cv=none; d=google.com; s=arc-20160816; b=M2+zobMCUatdMy6/F53unr0Hu2UpmHDDhZNnEMYDTkOA1r44RKtJLCHMjEGKEMb+v6 K1qKaAw463sa/KqfYYc7U8Z/pSN46RQZb6wESLBWgt+KB73cJzfScH+hAM9jiTsRNsQB jK58YX5ZGeM82payiHUC8auKOlqINcpHv5tEuT3r4qRyEENMuo/TKJpsAifuSVsrAY6m C3HjVOKs99oSOB7YToMNv5QzK+qgIc8E70Z25IO4p3zpgG5QYUM65UxrTV06fL/Bgyqt DLmv459sQ+syljf8ICOhGWCIypkLbT7VQCyFjAUGqjdXlZ4zuQ8zQDhnXJ+LP2gTJ+BH kaDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=jpo0nH/XVU+B0EdHvk4XUSFu/5USN157Mtjkca50d0Y=; b=tgO5ONUyDbvE75qAAv0aCTtGFU1NF9MSyyuALPBxTG5nNrjt0nffJUXdBZIk7OXyWj Gi60YIEHWnMwfqUXHneuCsMp6rshAMvvr8uIFJREMNtxelaJx6o5CzJ+nwBvEgrNv2Ui ZhIZOC/4vDK4j0xX06ei2KutyR+7CcbmCpLNAraj0YY/epe6lrZK9r49QzFPlfpMas3/ IfzPpoMvOBQbrxiQmvngAzyKiK0zrpGvfYKoSKLy/Or7mVjCCLSuPyFyiuN3Y1q7tr74 LK37HFzvTfDuiouNVFpQuY7iXb1uoU3Jlcce6uUya+nPWv1EvNolc/c0KZF8dkvskY1l bp9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bd8-v6si12556306plb.156.2018.04.26.03.38.38; Thu, 26 Apr 2018 03:38:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755821AbeDZKgB (ORCPT + 99 others); Thu, 26 Apr 2018 06:36:01 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:51477 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754853AbeDZKf5 (ORCPT ); Thu, 26 Apr 2018 06:35:57 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 40Wtky0tN3z9tvll; Thu, 26 Apr 2018 12:35:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id H6QFReiGBbZ9; Thu, 26 Apr 2018 12:35:54 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 40Wtky0KRQz9tvld; Thu, 26 Apr 2018 12:35:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 6EBEA8B96B; Thu, 26 Apr 2018 12:35:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id FYGXeKIgoZPy; Thu, 26 Apr 2018 12:35:55 +0200 (CEST) Received: from PO15451 (po15451.idsi0.si.c-s.fr [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 48FB88B83D; Thu, 26 Apr 2018 12:35:55 +0200 (CEST) Subject: Re: [PATCH v2 9/9] powerpc/hugetlb: Enable hugetlb migration for ppc64 To: "Aneesh Kumar K.V" , mpe@ellerman.id.au Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <1494926612-23928-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1494926612-23928-10-git-send-email-aneesh.kumar@linux.vnet.ibm.com> From: Christophe LEROY Message-ID: <69b4fae5-d413-4866-7ce4-3873d3c6590f@c-s.fr> Date: Thu, 26 Apr 2018 12:35:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1494926612-23928-10-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 16/05/2017 à 11:23, Aneesh Kumar K.V a écrit : > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/platforms/Kconfig.cputype | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype > index 80175000042d..8acc4f27d101 100644 > --- a/arch/powerpc/platforms/Kconfig.cputype > +++ b/arch/powerpc/platforms/Kconfig.cputype > @@ -351,6 +351,11 @@ config PPC_RADIX_MMU > is only implemented by IBM Power9 CPUs, if you don't have one of them > you can probably disable this. > > +config ARCH_ENABLE_HUGEPAGE_MIGRATION > + def_bool y > + depends on PPC_BOOK3S_64 && HUGETLB_PAGE && MIGRATION > + > + Is there a reason why you redefine ARCH_ENABLE_HUGEPAGE_MIGRATION instead of doing a 'select' as it is already defined in mm/Kconfig ? Christophe > config PPC_MMU_NOHASH > def_bool y > depends on !PPC_STD_MMU >