Message ID | 20230619231044.112894-8-peterx@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AC31EB64DB for <linux-mm@archiver.kernel.org>; Mon, 19 Jun 2023 23:11:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A5FB28D000A; Mon, 19 Jun 2023 19:11:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9C2858D0001; Mon, 19 Jun 2023 19:11:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 814D48D000A; Mon, 19 Jun 2023 19:11:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 72ADE8D0001 for <linux-mm@kvack.org>; Mon, 19 Jun 2023 19:11:01 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 4B3071C80A2 for <linux-mm@kvack.org>; Mon, 19 Jun 2023 23:11:01 +0000 (UTC) X-FDA: 80921044722.01.F9F5B5D Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf20.hostedemail.com (Postfix) with ESMTP id 41AF91C0004 for <linux-mm@kvack.org>; Mon, 19 Jun 2023 23:10:59 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=T9dFRBjY; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf20.hostedemail.com: domain of peterx@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=peterx@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1687216259; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=3EQ9G/WyCR5BzbeYKEOc/c4ex09bzeUnnwnMR75AIjI=; b=EHgxq3FKGPnzfHZrLnRNCCc/fbqHrCu8geHEQ9GcsludLMKQ0vDJj01EEUsK5gMJBPtO86 ROujGW9Ja34R6NHE8bUGq9TXo+uKNUtZsdgjKWaMdhKyvogzOY3QlsZjtwLqMg2TxFsKbs 8PkIv1KHjoh8xmOGtAgr4ZHWSw99FPI= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=T9dFRBjY; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf20.hostedemail.com: domain of peterx@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=peterx@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1687216259; a=rsa-sha256; cv=none; b=Kd4L1AwP9bHnhZh8I7RWpowZ8jOGEXnXqcS2WMKBKy96xlICK/zanqR/eU8j5tyjg8bbk1 2/UC9HgKri/uaoTTH2fWJulCwht+4tiXKF7d1+DFtXBH1XlRC0QxztkPIyDiqJdnNdvr+9 Uf/PZ2qyXR5iEtXVw5dRhxKRL85vtqY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687216258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3EQ9G/WyCR5BzbeYKEOc/c4ex09bzeUnnwnMR75AIjI=; b=T9dFRBjYGTeMn3UW8PlByTdCkNcICD4LTiwroGjUr0roGUo4OIwALMmmj2Eg/66K61rnpr aikB+pMKTZ+O4yzMVGGbAA2u9jEWDZ3SvuPSmFAVy135RqWMh0oheOSi47+yRJRNzytQLp vuwbl/V0kIJDH+wjt30vZzCOxYOj5fY= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-654-LPJrre6wOOGjplTKvSh2lQ-1; Mon, 19 Jun 2023 19:10:57 -0400 X-MC-Unique: LPJrre6wOOGjplTKvSh2lQ-1 Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-3fde794cd50so5980741cf.1 for <linux-mm@kvack.org>; Mon, 19 Jun 2023 16:10:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687216257; x=1689808257; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3EQ9G/WyCR5BzbeYKEOc/c4ex09bzeUnnwnMR75AIjI=; b=a2BNaK2O1jm52ULGgFaEOPOau1cOYs8BEBwkcFGX39pFg41Gu3DFJBQwimYOcG9Ijh xNx0fZdnoWLvtMSZ7aFQlzkvA0/V1bWwgKcA7clOSZbvhaRowHvbHUMZXQYkJjT+hshT 2qF1fh6ghew4lue+gySP5TAll27HfgP+2aLUCGzf6vAvnbzldVJPkiIuCybwyykmCuHu 5JyyEacZ023b01A6FnH1/T5gdy7xB9345kA2V4M5281pdoCmaVyoqxei32vbazkq/FzJ yYr8dw6N61midVg22nlj8WuoqFsiRsshoXy5FgE2l9A3zktTBD8gTIcgs7LF3ey08WjS 3NRw== X-Gm-Message-State: AC+VfDwe58CHSveQmlCebRjWTxe6SBFJeeGlcUsVSNRizNlPEXlZJmTb t1pzbaGZvIc9h10XFkZKJ71AuWmP8/vYqR9HYagigtc1y5uS6j0CdClNG+8PMSFXnLNUg72+BgW DjwWiW3avT+NHwr6eS++Y1GDWST+TOLKjFiuuoEqWga7/GMgQJzgKWVWXBuI9Hhr9feEz X-Received: by 2002:a05:6214:411c:b0:62d:f62b:907 with SMTP id kc28-20020a056214411c00b0062df62b0907mr14179237qvb.0.1687216256949; Mon, 19 Jun 2023 16:10:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QlF4GkYWNboxTnBtKcrBbY45j5tqglo1WSMcbfSsLOwxwdtYl1NbYzYEaZwqHBtQcKataQQ== X-Received: by 2002:a05:6214:411c:b0:62d:f62b:907 with SMTP id kc28-20020a056214411c00b0062df62b0907mr14179194qvb.0.1687216256500; Mon, 19 Jun 2023 16:10:56 -0700 (PDT) Received: from x1n.. (cpe5c7695f3aee0-cm5c7695f3aede.cpe.net.cable.rogers.com. [99.254.144.39]) by smtp.gmail.com with ESMTPSA id t15-20020a05620a034f00b007592f2016f4sm405864qkm.110.2023.06.19.16.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 16:10:56 -0700 (PDT) From: Peter Xu <peterx@redhat.com> To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Andrea Arcangeli <aarcange@redhat.com>, Mike Rapoport <rppt@kernel.org>, David Hildenbrand <david@redhat.com>, Matthew Wilcox <willy@infradead.org>, Vlastimil Babka <vbabka@suse.cz>, John Hubbard <jhubbard@nvidia.com>, "Kirill A . Shutemov" <kirill@shutemov.name>, James Houghton <jthoughton@google.com>, Andrew Morton <akpm@linux-foundation.org>, Lorenzo Stoakes <lstoakes@gmail.com>, Hugh Dickins <hughd@google.com>, Mike Kravetz <mike.kravetz@oracle.com>, peterx@redhat.com, Jason Gunthorpe <jgg@nvidia.com> Subject: [PATCH v2 7/8] selftests/mm: Add -a to run_vmtests.sh Date: Mon, 19 Jun 2023 19:10:43 -0400 Message-Id: <20230619231044.112894-8-peterx@redhat.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230619231044.112894-1-peterx@redhat.com> References: <20230619231044.112894-1-peterx@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Rspamd-Queue-Id: 41AF91C0004 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: uqportte8q7yheinqfk9wfdwasintfaw X-HE-Tag: 1687216259-258527 X-HE-Meta: U2FsdGVkX18knNlDIFyT4Dqqn2rl4yXok8teWT7U9FbX99ZSA3ojWaFbw5Hgv7PO7omiSDEkIStDI0RqKjZiCumNMEiRcfjU3LNZJ/HU2KE04ViP0qs1ACAshrCd6sQc4ZW4zxq0+sfvZA6ydgzNDH464dCHfpkHhJHHELSVmKXH9uWame5fTzFwDAhfAcZv0FyrjaI6PllR7k9tr7XhQP1A3P3+KbyEyVf6BoWI6a3yzff/FH9ztNwHQnpG6Xrz+xp4MU/4BnELAocaOODQ7p1Q603Zhnu2JkSEm2GrLoWBCy6JXDnEPRvTGCZ7WOJfyzXOWY8BHx4aCg/eA7jqiVwHRTnbSIVsUeijVfJ5RgcCmAPNZWwXtxM5joXmNIrqRheyTjrYO3No16KNXqTdB407qrQyWOsihBsqK2pLUHn7O9w8Q+NQzpeNJw6GODcLzjfofHK2LbQVIhPZoE/WUuOhXaTl1bdMOS00JObOzc13fd0RxGMyvxLfU1/ZDA2EOvotNAROW76TFcotvtgooBkokLrB6DH8hx96iuTztZMokL4n3RZweGCYN3WyRKmuRg6Wiei0/Bpz/Ys3Mqkam4dnSb1gvvPn4as/Y53aqLjZJm9KcsoAueRr/tqGHU9545aignmqCz+3oxybe1IX7PpklPF1C9Hm8KmDX2hIH8Bdyj+ie3o/CuGXRaUPqmW+qfDrcyZsTdKTZN2E2ZQZhZ12rIPjXGlKak62SPJvbDapO6S9+qRrqFhjBPa4q1rETPzNhWIhLI2DewfDBX8EEt69HN+R+w8EbsD9g56qFwf8bvblTTES6DHDMLJdrROlYlK90uNrYnPl8DLiVUFIhvEbJwemMmgGf53mRRpu7dQfdmPsOx8XPs63IHW1vMGZ+0UUlyQWX3++KE2nSTYNkHFk/1n3YQH/rlgod6ujmwRivBYXSlw9oQxKdExWMr1bvlt9yZUxKVphAN+MKPx t0RtcETx VUoe8347mBARDwFBgqjn7XBSFqJr9iDJ2r0d+aOZtqACG/5UWjyXjGJhLwkj6teXJFjCAPGXF/2o4hXQajT/1IwBqh4EXJdeReLSja7bibTmrtEK6hEWZ8a1GjzBDfISty8d7dsoqplQW1JrM/pmJGpRkv9COJgKFnbtyUwpHfyTUzDrzS8yLJDerhiqkSd7x12dNF/zyienSeEa8aJ/hXiyts4Z+FJyWKYBtmin0ewQOwghcub6iqnbNE8LtrqTgVci4muEE5gm5LKmP/TWvRVUPnWKE+EeSe93RYIYK1sOAFQclgri6bC/X4AqQq3zSixeXJm2dAH/1IIXcp12MdXMYpKNnj9KM9cx8MaqgYStDjevFkHxQv9IrPUnOUA8O6EcCctNGfSGGECmFNfvBSG2LVgFiQGrMwmVjJfltcJMRnmpQFLaQCmSisg== 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: <linux-mm.kvack.org> |
Series |
mm/gup: Unify hugetlb, speed up thp
|
expand
|
diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh index 3f26f6e15b2a..824e651f62f4 100644 --- a/tools/testing/selftests/mm/run_vmtests.sh +++ b/tools/testing/selftests/mm/run_vmtests.sh @@ -12,11 +12,14 @@ exitcode=0 usage() { cat <<EOF -usage: ${BASH_SOURCE[0]:-$0} [ -h | -t "<categories>"] +usage: ${BASH_SOURCE[0]:-$0} [ options ] + + -a: run all tests, including extra ones -t: specify specific categories to tests to run -h: display this message -The default behavior is to run all tests. +The default behavior is to run required tests only. If -a is specified, +will run all tests. Alternatively, specific groups tests can be run by passing a string to the -t argument containing one or more of the following categories @@ -60,9 +63,11 @@ EOF exit 0 } +RUN_ALL=false -while getopts "ht:" OPT; do +while getopts "aht:" OPT; do case ${OPT} in + "a") RUN_ALL=true ;; "h") usage ;; "t") VM_SELFTEST_ITEMS=${OPTARG} ;; esac
Allows to specify optional tests in run_vmtests.sh, where we can run time consuming test matrix only when user specified "-a". Signed-off-by: Peter Xu <peterx@redhat.com> --- tools/testing/selftests/mm/run_vmtests.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)