Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1397735ybl; Wed, 29 Jan 2020 22:15:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwB0N9htG7c7E0TiSafloNXxw0ESWM+xKhYVVhn59nKaG/aMmq//TAd6fChvcWSeWx7xvZO X-Received: by 2002:a9d:588d:: with SMTP id x13mr2310803otg.6.1580364924153; Wed, 29 Jan 2020 22:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580364924; cv=none; d=google.com; s=arc-20160816; b=cZbcHri1lh8WVaAb4BICPBCQDedCrQafa95mCH7FTroHuQRWtEzKeW8Y+r3BIimVJm hOXxRh18f33EmWXeTEkeXAw46v2v7pYA/mj46nNhJeZl4OqkETv1k/cRrg80P34EO0E7 qvXgBGdiQKIiodx+hBdX8quJ1OcftgrDgOQnZ+OkDjq1zJispgutI040GNVbIy9TTDUf nMiG2j+A3hzlELSeB1VJTqBgES9PyX8I6sw5iT8UAXOK/jOe91zwzybURhODctYOyVGx cZC6CV0KkoNE7XAyBjM+3A80qkZnckjunVAIa6AHcCNceThWjnjTtCk0m+JIasHy9gh8 PP8w== 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 :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=AhXJri5yflar9xlMTNeYY0DmoaI1hdEL6gvKfWjlUHQ=; b=ak1xyYm/HN3etmSkLV5PLlhA6Gmennib7irnWXZydruxvl5kTLfpCerV0Hwuo/aoQh fI518//cx/9Wcwdlt7yO3FrKl3I9nhknPzhu5JaUcWX0yC3g3nGrcquTQ5Iw0Yl1pRes Jo5vfYcee/qeA60Di5XAhfY0XVNPt0oW5t/ex6aniKtvywrIt3riwWiO/rOENhiGi9o+ fuIWibuBmRdbcRFzjXCbuof1f6KxgNML9yZtLqsADzgS/27cOPFl+gtfQqxw0C0eJsz2 GSHfUwp5ew/Reh3N8t2cqvVcNiDKhJZIZx7ZOCg1c1I14sUU4mS+kVCtPzcOi94JM3O6 exJA== 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 q6si2905101otg.248.2020.01.29.22.14.59; Wed, 29 Jan 2020 22:15:24 -0800 (PST) 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 S1726339AbgA3GL0 (ORCPT + 99 others); Thu, 30 Jan 2020 01:11:26 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:57714 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725847AbgA3GLZ (ORCPT ); Thu, 30 Jan 2020 01:11:25 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00U67YvV117139 for ; Thu, 30 Jan 2020 01:11:24 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0b-001b2d01.pphosted.com with ESMTP id 2xu5x9n6r3-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Jan 2020 01:11:24 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 30 Jan 2020 06:11:22 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 30 Jan 2020 06:11:18 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 00U6BHM541353262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Jan 2020 06:11:17 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C43B8AE059; Thu, 30 Jan 2020 06:11:17 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DECFCAE057; Thu, 30 Jan 2020 06:11:15 +0000 (GMT) Received: from [9.124.35.38] (unknown [9.124.35.38]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 30 Jan 2020 06:11:15 +0000 (GMT) Subject: Re: [PATCH v10 7/8] hugetlb_cgroup: Add hugetlb_cgroup reservation tests To: David Rientjes Cc: Mina Almasry , mike.kravetz@oracle.com, shakeelb@google.com, shuah@kernel.org, gthelen@google.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, cgroups@vger.kernel.org, aneesh.kumar@linux.vnet.ibm.com References: <20200115012651.228058-1-almasrymina@google.com> <20200115012651.228058-7-almasrymina@google.com> <7ce6d59f-fd73-c529-2ad6-edda9937966d@linux.ibm.com> From: Sandipan Das Date: Thu, 30 Jan 2020 11:41:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 20013006-0028-0000-0000-000003D5AD16 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20013006-0029-0000-0000-00002499FA94 Message-Id: <98c83a41-b864-5950-488c-443f6ef60b91@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-30_01:2020-01-28,2020-01-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=870 mlxscore=0 phishscore=0 priorityscore=1501 suspectscore=2 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 adultscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1911200001 definitions=main-2001300040 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, On 30/01/20 2:30 am, David Rientjes wrote: > On Thu, 23 Jan 2020, Sandipan Das wrote: > >> For powerpc64, either 16MB/16GB or 2MB/1GB huge pages are supported depending >> on the MMU type (Hash or Radix). I was just running these tests on a powerpc64 >> system with Hash MMU and ran into problems because the tests assume that the >> hugepage size is always 2MB. Can you determine the huge page size at runtime? >> > > I assume this is only testing failures of the tools/testing/selftests > additions that hardcode 2MB paths and not a kernel problem? In other > words, you can still boot, reserve, alloc, and free hugetlb pages on ppc > after this patchset without using the selftests? > Yes, its just the hardcoded paths. I didn't run into any kernel problems. - Sandipan