Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1273230ybv; Thu, 20 Feb 2020 16:52:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzRdZevTWAzWxL4JwViOms0nJwgnNxKFIpDUBwcdKxUo7mF+uA0SnFZ5dHnoYLTtM8lKVTU X-Received: by 2002:a9d:624e:: with SMTP id i14mr26340062otk.371.1582246363773; Thu, 20 Feb 2020 16:52:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582246363; cv=none; d=google.com; s=arc-20160816; b=tnuBbt5ncq5giAShFlh0VQBqFxiR2uBLyZUdKPjDYgi1jQNDLMmm+g2Y7r6byRp5Xl W7A8GP3la3GcRn1wAMNF6p6/nSM4/iMXjeVjG1OBP/Y4Oaguje04CIJMoFDBTGOlMu9L kB9NSA49PvVrfEeNLvI5ik/hV134JIHpLZm5f89zs1+salvqDXpYg8D1cRdwypvFhjKZ 0E8tCujFf7iZD4MNbFcmqTgRobD7m9rY6NaHg9qYXbjQTNeD6MljKf/cLbJ1ML4kn1oF pvCCffMBsT2EEBr+xKGKa28BF9Fk4uf1Q1wO+REJyKGzsGipR50ajw1X3Z+J/jNvHZeM GL/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=2MiF4dVUkc3MWcos/LfkCVZBhlj/IhF6lAwfrxFDkGk=; b=wxqGOKtlJIahRu52ugwjDkL2vg2MN5wYFRzMIgCwecGxQFD4F1hViPTbWg3n+juav5 pZ9YlNyeNg4q2qx9Jq0zI2ehFeYXWjsaDTOUa9o62JNaKvmPNud0Q/OhsgHPK8TEUpBs lsaZI99BZH0woF7zvkubyDfG64ynWIOzLJPveKKAv5RzQjKWGz8kof3sKqPrlPQ/CWzv jb7XI/84O94IZj/ylSoHn4bDr+pMKt8NRZ/S6rgaslnrQiWAzHtL3BM9uREaOTaope2t DPmkn/FIRihzbA3ldY3zu3MepHkCq74mL2POhCMu1JrKUm1yTe+AaI88qzoD7uXmcSoj eE1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="Qa/xiybL"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h14si488103oie.130.2020.02.20.16.52.31; Thu, 20 Feb 2020 16:52:43 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="Qa/xiybL"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729499AbgBUAw2 (ORCPT + 99 others); Thu, 20 Feb 2020 19:52:28 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:39284 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729365AbgBUAw1 (ORCPT ); Thu, 20 Feb 2020 19:52:27 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01L0mFqs130067; Fri, 21 Feb 2020 00:52:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=2MiF4dVUkc3MWcos/LfkCVZBhlj/IhF6lAwfrxFDkGk=; b=Qa/xiybLHd9cEcexFOZ9pJSEyObVBONrKnMXTPyepXmHtEcZ0bI8S2QysIO7RX225It1 GV6xK+t8Os/XZwfWhTLbjC6Y4kkhaGDG/WWkfcGy4Prfan1HaRuVt2b0kdQmLopqCsmM jpTBHsFVTPUPxXj2f7xrUhrV2qCPNQi7mqZywiB1bbt4Uoe2Yc+YYxYxWq1+PAg1yz/g m1aaox0KZqCxqI32t4HD7dImClbktug79H6ia/EQsHGSGazTd3BNaO7pb/Pwtimq+OFP jyR/2voIMwtNuCNLAHav/1Da3gWJce50nOQjUvZf8zCL+9QGDNtHBmUridNFR37s0lCa xw== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2y8ud1ddep-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Feb 2020 00:52:20 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01L0m0ML055753; Fri, 21 Feb 2020 00:52:19 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 2y8ud7d62h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Feb 2020 00:52:19 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 01L0qILt004986; Fri, 21 Feb 2020 00:52:18 GMT Received: from [192.168.1.206] (/71.63.128.209) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 20 Feb 2020 16:52:18 -0800 Subject: Re: [PATCH v12 8/9] hugetlb_cgroup: Add hugetlb_cgroup reservation tests To: Mina Almasry Cc: shuah@kernel.org, rientjes@google.com, shakeelb@google.com, 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, sandipan@linux.ibm.com References: <20200211213128.73302-1-almasrymina@google.com> <20200211213128.73302-8-almasrymina@google.com> From: Mike Kravetz Message-ID: Date: Thu, 20 Feb 2020 16:52:16 -0800 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: <20200211213128.73302-8-almasrymina@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9537 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 spamscore=0 suspectscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002210003 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9537 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 bulkscore=0 spamscore=0 priorityscore=1501 phishscore=0 impostorscore=0 mlxlogscore=999 clxscore=1011 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002210003 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/11/20 1:31 PM, Mina Almasry wrote: > The tests use both shared and private mapped hugetlb memory, and > monitors the hugetlb usage counter as well as the hugetlb reservation > counter. They test different configurations such as hugetlb memory usage > via hugetlbfs, or MAP_HUGETLB, or shmget/shmat, and with and without > MAP_POPULATE. > > Also add test for hugetlb reservation reparenting, since this is > a subtle issue. > > Signed-off-by: Mina Almasry > Cc: sandipan@linux.ibm.com Thanks for adding the tests. At a high level, I do not see any issues. Acked-by: Mike Kravetz -- Mike Kravetz