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=-2.5 required=3.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 2DAFEC43603 for ; Wed, 18 Dec 2019 12:18:42 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id EAFF32072B for ; Wed, 18 Dec 2019 12:18:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EAFF32072B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 868838E010C; Wed, 18 Dec 2019 07:18:41 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 818948E00F5; Wed, 18 Dec 2019 07:18:41 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 72DD48E010C; Wed, 18 Dec 2019 07:18:41 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0216.hostedemail.com [216.40.44.216]) by kanga.kvack.org (Postfix) with ESMTP id 5ECED8E00F5 for ; Wed, 18 Dec 2019 07:18:41 -0500 (EST) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 186034425 for ; Wed, 18 Dec 2019 12:18:41 +0000 (UTC) X-FDA: 76278165642.14.water41_4bc3465f15858 X-HE-Tag: water41_4bc3465f15858 X-Filterd-Recvd-Size: 4753 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Wed, 18 Dec 2019 12:18:40 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id w15so2069038wru.4 for ; Wed, 18 Dec 2019 04:18:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HdA4x4Mpp0Ob+ig4Pc6f4Csozs6EHGzpAf+wfwCPZUM=; b=ibW3BNS0VySdVZHIQmOEIIeBtJYPQqaZyW/dgEZxQvs0/BLV41Vo4EzRg9Typ87znk euPATV13h70RI3ksVdV5oF0MrQA3oOiKzyou2ujzwo/tVWC7/GSYmFN9MwkIgrdzl7pw wgyggrSUTWVhnxbDTCaEQAfQ+XriXuVIRj1Jl2ywcCZ4ThOZi3JPOMHVNS5R5TE0lhGF fNq/yJqy5cDNLlkNx3Oy51hx8XxzzVC9ytofXTTB3AHVllo2WV/K0EN7fCdFwWVq3fPW utZO4mb1btSxqWa3V5m5B3CJiUC0Aru9uLQ+NM8zoHvxehJfR98mcR5KF7Q7wNGqzSI5 A+MA== X-Gm-Message-State: APjAAAVKhuF1n7LLZhkWLKI0+YeNInZAnAEE/Y/6bzXtUe3GMUBjnPpO S6k/eGOLW3heloJiRexP+oU= X-Google-Smtp-Source: APXvYqwvdlQcIhXXIIukIAvOpQerf7Pd1fFtKLlBDSy+5nmuElWfeJOxSRHPfmDBZCM7c9loTD64lQ== X-Received: by 2002:a5d:52c4:: with SMTP id r4mr2388982wrv.368.1576671519196; Wed, 18 Dec 2019 04:18:39 -0800 (PST) Received: from localhost (prg-ext-pat.suse.com. [213.151.95.130]) by smtp.gmail.com with ESMTPSA id v20sm2242610wmj.32.2019.12.18.04.18.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2019 04:18:38 -0800 (PST) Date: Wed, 18 Dec 2019 13:18:37 +0100 From: Michal Hocko To: Mike Kravetz Cc: Waiman Long , Eric B Munson , Andrew Morton , Matthew Wilcox , linux-kernel@vger.kernel.org, linux-mm@kvack.org, aneesh.kumar@linux.ibm.com, Jarod Wilson Subject: hugetlbfs testing coverage (was: Re: [PATCH v2] mm/hugetlb: defer free_huge_page() to a workqueue) Message-ID: <20191218121837.GD21485@dhcp22.suse.cz> References: <20191212060650.ftqq27ftutxpc5hq@linux-p48b> <20191212063050.ufrpij6s6jkv7g7j@linux-p48b> <20191212190427.ouyohviijf5inhur@linux-p48b> <79d3a7e1-384b-b759-cd84-56253fb9ed40@redhat.com> <20191216132658.GG30281@dhcp22.suse.cz> <98ac628d-f8be-270d-80bc-bf2373299caf@redhat.com> <21a92649-bb9f-b024-e52b-4ce9355f973b@redhat.com> <20191217090054.GA31063@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) 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 Tue 17-12-19 10:05:06, Mike Kravetz wrote: > Cc: Eric > > On 12/17/19 1:00 AM, Michal Hocko wrote: > > On Mon 16-12-19 13:44:53, Waiman Long wrote: > >> On 12/16/19 10:38 AM, Waiman Long wrote: > > [...] > >>>> Can you extract guts of the testcase and integrate them into hugetlb > >>>> test suite? > >> > >> BTW, what hugetlb test suite are you talking about? > > > > I was using tests from libhugetlbfs package in the past. There are few > > tests in LTP project but the libhugetlbfs coverage used to cover the > > largest part of the functionality. > > > > Is there any newer home for the package than [1], Mike? Btw. would it > > mak sense to migrate those tests to a more common place, LTP or kernel > > selftests? > > That is the latest home/release for libhugetlbfs. > > The libhugetlbfs test suite is somewhat strange in that I suspect it started > as testing for libhugetlbfs itself. When it was written, the thought may have > been that people would use libhugetlfs as the primary interface to hugetlb > pages. That is not the case today. Over time, hugetlbfs tests not associated > with libhugetlbfs were added. > > If we want to migrate libhugetlbfs tests, then I think we would only want to > migrate the non-libhugetlbfs test cases. Although, the libhugetlbfs specific > tests are useful as they 'could' point out regressions. Yeah, I can second that. I remember using the suite and it pointed to real issues when I was touching the area in the past. So if we can get as many tests to be independent on the library and integrate it to some existing testing project - be it kernel selftest or LTP - then it would be really great and I assume the testing coverage of the hugetlb functionality would increase dramatically. -- Michal Hocko SUSE Labs