Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752408AbdHNWEa (ORCPT ); Mon, 14 Aug 2017 18:04:30 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36171 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751989AbdHNWE2 (ORCPT ); Mon, 14 Aug 2017 18:04:28 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 14 Aug 2017 19:06:31 -0300 From: Victor Aoqui To: "Aneesh Kumar K.V" Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au, khandual@linux.vnet.ibm.com, victora@br.ibm.com, mauricfo@linux.vnet.ibm.com Subject: Re: [PATCH v3] powerpc/mm: Implemented default_hugepagesz verification for powerpc In-Reply-To: <87zibf3mfg.fsf@linux.vnet.ibm.com> References: <20170724235202.5675-1-victora@linux.vnet.ibm.com> <87zibf3mfg.fsf@linux.vnet.ibm.com> User-Agent: Roundcube Webmail/1.0.1 X-TM-AS-GCONF: 00 x-cbid: 17081422-0012-0000-0000-000014D59E69 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007545; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000220; SDB=6.00902366; UDB=6.00451938; IPR=6.00682581; BA=6.00005531; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016695; XFM=3.00000015; UTC=2017-08-14 22:04:25 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17081422-0013-0000-0000-00004F0DD014 Message-Id: <5c722efebd21bcd56c2a857154bb1830@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-14_19:,, 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-1706020000 definitions=main-1708140363 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1019 Lines: 40 Em 2017-08-04 02:57, Aneesh Kumar K.V escreveu: > 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 Hi Aneesh, Sorry for the delay. I was on vacation. Yes, that solves the issue. This patch was accepted when I was fixing the last version. Sorry for the inconvenience. -- Victor Aoqui