Received: by 10.192.165.148 with SMTP id m20csp504044imm; Fri, 4 May 2018 01:26:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoaxobby8JUMcv1tkws5XUq0wID7nZD1lIZGeTwXqGsBEOjikMOnRoGQF7nW8mFoPIAc5qL X-Received: by 2002:a17:902:f24:: with SMTP id 33-v6mr27740122ply.242.1525422384324; Fri, 04 May 2018 01:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525422384; cv=none; d=google.com; s=arc-20160816; b=emVNM/1D/Du3rCWmf/MRwEBMhT2qRNHyfudMsx7jdaWKpiG9ZsHZOgWVwAIQe9BTgR rl+XBkE9YsOU6k36n4ib/OOm+/htVNqeVRDSXnWF8AfYqotVOD6++FBSPHK91ctS5DAj C1EBnxEbkxidKlzHUGylWO4vrv+DPnyMODeybsUivcrgyMbh+wFAxZd1qIyTYVqpXn0W DYGPp2HYzdx7M306wUpcKc45rQi0l5F9W+alqKcYPvHpGMpS5ZdUppN11ciErcvfbSO0 QblWO6xwROi+SUJP6y1gKZgnPWfDZ4ejtQhs3n0iaBQRPubbZbLPMxJKSKt5EOQS6jTw MFgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:date:references:in-reply-to:subject:cc:to:from :arc-authentication-results; bh=MArTBE563yozI+K/feYZ7DRmoiAMSaGc1jb9LOCjEAM=; b=AxqIpBPzlax1ArciApBRk5tJ4abchbtQcWeNvbeo8QCAr5YwQ2T2e7qvOxsK9Qolto Ru6eYgPdKo7DVcVQ7DVt0boag87P2zOEOvVqmLm0BVXjqBcq0sifS2rHODgCZcX42czX YxX5mrOsH4+rUZCXguMoTI4keFqMpW2y6S6VTSzizdRpxiTrES76wP8bNr09Ay8ocGmV TBEyAJuWcfLypV9hVbHeN4PgcrH76X7E4odBbbUejZE2a0tCPKuWkiHRA6lW4PmrIYMo mxEKPkNQhGl2FsGVJtQdtNuZgQGPBNulrPmZJQekEagcRphH3yc5nbaPJib3MjwI7bbv 8vTw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6-v6si15669642plq.382.2018.05.04.01.26.09; Fri, 04 May 2018 01:26:24 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751739AbeEDIZr convert rfc822-to-8bit (ORCPT + 99 others); Fri, 4 May 2018 04:25:47 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41628 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751790AbeEDIZp (ORCPT ); Fri, 4 May 2018 04:25:45 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w448IpF6009557 for ; Fri, 4 May 2018 04:25:45 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hrh31nwwh-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 04 May 2018 04:25:44 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 4 May 2018 09:25:43 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 4 May 2018 09:25:40 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w448PeCL12779862; Fri, 4 May 2018 08:25:40 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1D6AE11C04A; Fri, 4 May 2018 09:17:13 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 49A7511C054; Fri, 4 May 2018 09:17:08 +0100 (BST) Received: from skywalker (unknown [9.200.43.224]) by d06av25.portsmouth.uk.ibm.com (Postfix) with SMTP; Fri, 4 May 2018 09:17:07 +0100 (BST) Received: (nullmailer pid 1220 invoked by uid 1000); Fri, 04 May 2018 08:25:31 -0000 From: "Aneesh Kumar K.V" To: Christophe LEROY , mpe@ellerman.id.au Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 9/9] powerpc/hugetlb: Enable hugetlb migration for ppc64 In-Reply-To: <69b4fae5-d413-4866-7ce4-3873d3c6590f@c-s.fr> 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> <69b4fae5-d413-4866-7ce4-3873d3c6590f@c-s.fr> Date: Fri, 04 May 2018 13:55:31 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-TM-AS-GCONF: 00 x-cbid: 18050408-0044-0000-0000-0000054EE221 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18050408-0045-0000-0000-000028900D3E Message-Id: <871serrfno.fsf@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-04_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805040078 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe LEROY writes: > 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 ? > That got copied from x86 Kconfig i guess. -aneesh