From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDE47C33CB6 for ; Thu, 23 Jan 2020 20:05:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A463C24673 for ; Thu, 23 Jan 2020 20:05:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="NEFtawHL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A463C24673 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 43EDD6B0277; Thu, 23 Jan 2020 15:05:43 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3EEC46B0278; Thu, 23 Jan 2020 15:05:43 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2DE736B0279; Thu, 23 Jan 2020 15:05:43 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0146.hostedemail.com [216.40.44.146]) by kanga.kvack.org (Postfix) with ESMTP id 13B156B0277 for ; Thu, 23 Jan 2020 15:05:43 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id B897A180AD806 for ; Thu, 23 Jan 2020 20:05:42 +0000 (UTC) X-FDA: 76409979324.07.train58_8924ad03fd13b X-HE-Tag: train58_8924ad03fd13b X-Filterd-Recvd-Size: 3540 Received: from mail-oi1-f193.google.com (mail-oi1-f193.google.com [209.85.167.193]) by imf48.hostedemail.com (Postfix) with ESMTP for ; Thu, 23 Jan 2020 20:05:42 +0000 (UTC) Received: by mail-oi1-f193.google.com with SMTP id l7so285281oil.12 for ; Thu, 23 Jan 2020 12:05:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VyznYH5jQ6Vy0xxWHMJMOnmd05+7Te8s8tuSLOem1vc=; b=NEFtawHLgzySPes5yhMKn043r+gEGRFGKhG2aJibWy+YdIIw0CJVynUf/h7t5SDCAn YCLGg0okwgHeebwoD2fSmlXxTPzE+8OqgOFxOfSXKIjZI6xLy+zqNphZwdd2Tl3HNdb9 F+bOjMFMa/rjrcxnOi4Uv4WZy/wdxN2W8Nb0aKewvUoYFlPfCCwLGvMXURaKpP3IPhAy Vp7d3t7P3GCpDZy5GL/uWB/BtJVgZPiTYeU3t+OjdbL0MzYC+L/KPsM2qvjVN1iPjPEf Ccr0Fq0QlZZfD85rtYSLJWpgC5B4L6fMT7Gk1Ub9GJZ/JSAOlZbDhxtdfgH8LTyMuqxP +XHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VyznYH5jQ6Vy0xxWHMJMOnmd05+7Te8s8tuSLOem1vc=; b=p0LMqFYw6YpXUdbbiVORsucfjQp7VUMD4GiCxeWRthfJynScqVVSUxF65uh9JVCR4c FnR3YDK0kNElUwlECORGlnYomBZJmfKa/cHRONn/pA3hoaxZrMw3YVW0z//t9UlQUIPD RfgfyLh9vICKLm5eWyfUqtebMzk9VTogxagw/bMZ1sNoyxkCBR6cPwh6HHek2RSnkPAO WmpcRR2s3xGSzGltBSEjDvzoYLi4RCHwf608NI92/g5sLk/BH1H1ZhmDuRGeZgLvd+jE Sovcasmx4bmM4+fHavAvnZJiqc9akO/f4KF09LWLGM/nlEF65bDKCo03gKMcp+4x4nTX A14w== X-Gm-Message-State: APjAAAXbhZnwnRR2qRPFik2ekFwLPzEVxt/56U3ysHJ3ceOh8HC9Ijig N2rr5yUrQ1OM8VbzHGQRBfRUyKOjY9I/G+VV9AKHuA== X-Google-Smtp-Source: APXvYqwiRj0OJ5VwDvTDPamb1fxJTDNZ4OLpyrc6B4XIYJ2G1RIHK15Xy+a0L15Xtv0x5GzGRu8QZoxzo7UGUwseUng= X-Received: by 2002:aca:b3d6:: with SMTP id c205mr12152720oif.67.1579809941388; Thu, 23 Jan 2020 12:05:41 -0800 (PST) MIME-Version: 1.0 References: <20200115012651.228058-1-almasrymina@google.com> <20200115012651.228058-7-almasrymina@google.com> <7ce6d59f-fd73-c529-2ad6-edda9937966d@linux.ibm.com> In-Reply-To: <7ce6d59f-fd73-c529-2ad6-edda9937966d@linux.ibm.com> From: Mina Almasry Date: Thu, 23 Jan 2020 12:05:30 -0800 Message-ID: Subject: Re: [PATCH v10 7/8] hugetlb_cgroup: Add hugetlb_cgroup reservation tests To: Sandipan Das Cc: Mike Kravetz , David Rientjes , Shakeel Butt , shuah , Greg Thelen , Andrew Morton , open list , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, cgroups@vger.kernel.org, Aneesh Kumar Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Jan 23, 2020 at 1:15 AM 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? > Absolutely. Let me try to reproduce this failure and it should be fixed in the next patchset version.