From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbdEPK3a (ORCPT ); Tue, 16 May 2017 06:29:30 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:57601 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751080AbdEPK33 (ORCPT ); Tue, 16 May 2017 06:29:29 -0400 Subject: Re: [PATCH v2 2/2] powerpc/mm/hugetlb: Add support for 1G huge pages To: "Aneesh Kumar K.V" , akpm@linux-foundation.org, mpe@ellerman.id.au, Anshuman Khandual References: <1494926264-22463-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1494926264-22463-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org From: Anshuman Khandual Date: Tue, 16 May 2017 15:57:56 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1494926264-22463-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable x-cbid: 17051610-0004-0000-0000-00000202CAE7 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17051610-0005-0000-0000-000009F839B7 Message-Id: <04189f80-57fd-b921-20b9-565e1b307270@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-16_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705160089 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/16/2017 02:47 PM, Aneesh Kumar K.V wrote: > POWER9 supports hugepages of size 2M and 1G in radix MMU mode. This patch > enables the usage of 1G page size for hugetlbfs. This also update the helper > such we can do 1G page allocation at runtime. > > We still don't enable 1G page size on DD1 version. This is to avoid doing > workaround mentioned in commit: 6d3a0379ebdc8 (powerpc/mm: Add > radix__tlb_flush_pte_p9_dd1() > > Signed-off-by: Aneesh Kumar K.V Sounds good. Reviewed-by: Anshuman Khandual