Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751321AbdHDF6Q (ORCPT ); Fri, 4 Aug 2017 01:58:16 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37372 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751178AbdHDF6P (ORCPT ); Fri, 4 Aug 2017 01:58:15 -0400 From: "Aneesh Kumar K.V" To: Victor Aoqui , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au, khandual@linux.vnet.ibm.com Cc: victora@br.ibm.com, victora@linux.vnet.ibm.com, mauricfo@linux.vnet.ibm.com Subject: Re: [PATCH v3] powerpc/mm: Implemented default_hugepagesz verification for powerpc In-Reply-To: <20170724235202.5675-1-victora@linux.vnet.ibm.com> References: <20170724235202.5675-1-victora@linux.vnet.ibm.com> Date: Fri, 04 Aug 2017 11:27:07 +0530 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-MML: disable x-cbid: 17080405-0016-0000-0000-0000025F79B2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17080405-0017-0000-0000-000006E10749 Message-Id: <87zibf3mfg.fsf@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-04_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1708040088 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1049 Lines: 23 Victor Aoqui writes: > Implemented default hugepage size verification (default_hugepagesz=) > in order to allow allocation of defined number of pages (hugepages=) > only for supported hugepage sizes. > > Signed-off-by: Victor Aoqui I am still not sure about this. With current upstream we get PCI: Probing PCI hardware PCI: Probing PCI hardware done HugeTLB: unsupported default_hugepagesz 2097152. Reverting to 16777216 HugeTLB registered 16.0 MiB page size, pre-allocated 0 pages HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages That warning is added by d715cf804a0318e83c75c0a7abd1a4b9ce13e8da Which should be good enough right ? -aneesh