From patchwork Tue Jan 23 07:36:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muhammad Usama Anjum X-Patchwork-Id: 13526929 Return-Path: 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 D7F8CC47258 for ; Tue, 23 Jan 2024 07:36:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6A1756B0080; Tue, 23 Jan 2024 02:36:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 65E576B0082; Tue, 23 Jan 2024 02:36:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 51B186B0083; Tue, 23 Jan 2024 02:36:23 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 3FEE86B0080 for ; Tue, 23 Jan 2024 02:36:23 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 1B08FC01D9 for ; Tue, 23 Jan 2024 07:36:23 +0000 (UTC) X-FDA: 81709767846.16.45CF75A Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) by imf27.hostedemail.com (Postfix) with ESMTP id 7AA4140005 for ; Tue, 23 Jan 2024 07:36:20 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=collabora.com header.s=mail header.b="XJBKv2O/"; dmarc=pass (policy=quarantine) header.from=collabora.com; spf=pass (imf27.hostedemail.com: domain of usama.anjum@collabora.com designates 46.235.227.194 as permitted sender) smtp.mailfrom=usama.anjum@collabora.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1705995380; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=EfuS2Tt+4WI6cHfeaps0egdh+qgxoxbNgqJrrsMe6q8=; b=0T0hlcuGSyZQGa9OwkuK6gSl+40l/Vw6l0enJ9+hfqiKKy7I7oz41SKr0dOZuAb2g2G8xI sF6J5oG2MfDMRz9j6K4mBBmvSt37zJ50hYHzLWXO3qBxaZ8rxHl2CJegUp9NJs1GAeXnMM 7Uqjxks/8PDuLUn39QLU3nXpJjBZxaA= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=collabora.com header.s=mail header.b="XJBKv2O/"; dmarc=pass (policy=quarantine) header.from=collabora.com; spf=pass (imf27.hostedemail.com: domain of usama.anjum@collabora.com designates 46.235.227.194 as permitted sender) smtp.mailfrom=usama.anjum@collabora.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705995380; a=rsa-sha256; cv=none; b=NXt7r116MIG80gu90lA0LfpIa2JOdYUHlRhkyjIS0+QJncDNiKuParWdEXfNOE/VE8bcyo Grzv3TkOMQsPcy3NRwkHvYBaNPLS2gJ38vXy47LrvMXf08gx9oyqzYs+/fYCi2LxabHce2 SS+Zq02c+MOSvwUjZmQg4WjcV1voyVA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705995378; bh=UjyihoPyN6SOPFC4hXvckN7LSDeJ3FDGKGRL79wdbrI=; h=From:To:Cc:Subject:Date:From; b=XJBKv2O/lbViF3stGvXrhrgD6QAkY3LkvT2znhJvBl8JwewmKA+W0sDCCN4Tnsm6c D1nUuRlb5LJ1l5RbF72JT4R0Mby8v1FB5Fpw0U2caKcFedUzPcv0AV6rKJEnUtTlGO 29DCJMwu7QHL9vYlv7mJ151n+deebekBZGkRqXpAhcm0EyC4GG3Tcbux290jKc3u/e epJslm+MhXD5jwfuncizu2PfPCTAR1vQtxUYNFP4y9ui8vwDtcGlwUOUBoZjWW3DpW hjCSW80jWtpD7ohV4IR2LR+61z0XAUPoOhNBCL+dPDvVMFch+iBex9eUAojH5tTPRS ju3FJeDlSJWJA== Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 91D033782039; Tue, 23 Jan 2024 07:36:16 +0000 (UTC) From: Muhammad Usama Anjum To: Andrew Morton , Shuah Khan Cc: Muhammad Usama Anjum , kernel@collabora.com, Ryan Roberts , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] selftests/mm: run_vmtests.sh: add missing tests Date: Tue, 23 Jan 2024 12:36:13 +0500 Message-ID: <20240123073615.920324-1-usama.anjum@collabora.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 7AA4140005 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: t37shxuagd6dfq3cw8ad9ibzwewc1goj X-HE-Tag: 1705995380-15221 X-HE-Meta: U2FsdGVkX1/wH92cnUjQx1dBaPvVdUrQyS34l4+3gj4v4fxwd5bOb45rdqAD8qZg5lrdGDPPVfXlXijsVYeO2RfFt2ocWz1OOk1TnQSAOHOo0f7oEVS0cyEF4cEhy3p1NX8RGndBXnJLjI6vvCROYfqKVQWTxB8Zjr7k4+KyqaPtnDjsb6snUXkDQMTJ04pWa9BIkPIeL+7XgDMHNQw3AigUMl2YljWnw8qKo7mowaCMMnXVfIDZXb1+FelYbM2GBofZQmpXCve/ctP2Hc+o/cSXEihcinHoAgZqqdg0AyShxuwWG6rlb5Q9uE6+3pIUFPGuRp+Ez0l52FcvtGAsxCOyloQKiH3NIOFz2wrxWjoQXKv+nCN90YqMD+OvJBRHXEpjzlUB9iQm+9iETlOrpXeh+wSVwPjVfGnSs2WYSb4o1i9BXR7ew8nE3yYpfSoAbf4pyDhL0EOLHr2s2GrpV4OtwHpGdA3fBmd5oL78+CbsYGCJYxWL7zPjfhtNOGyNhdFC94aAkjbyAFpGBo8mfxYYSMgewA2V8qJflk1Z3aI1MF0tgz0CU9evCl+CTFrtri/vxVG8idIFUqZD0yJgOjtRRAj5qcwd/ccD0iANSyd9KSQQeRlzG9kEYdswtgGYus88XnXU8Yq9XJ5vmhZIbcdV9t3svtXw+P9b8qXFC+aLYl0f1b39Gv3GMPGcOuz1zczr7I/OvVg38sE4mJqs+nvP7yDHTGtSN7gvB942T/idBat8jOW2DmopU8dd4KwUsEk7T495HcqUtNqXn19VJwCWV1HjaPXiJzz1g89GjMDThrplRItFNgfN9WmqHFN6DI9u//i5ZlYtEJ1ToDGBh1M9cjeOtxfnpzPgwhS+gpY7X6EztoThy4sNslSESzSmgiFQ6RsWm7MPQsWGlJssa9lukFlHSJ3V9v0sFmwN8jjfSlf5j76jTLcCQu8k6H956SfeVxzHgl53MowwBvB yzDHYapb 97EFpw3KP77mXTV7g4c6QXsQArHpt/EhEIm2KyMPFdulnoC0bX/FzEL23aa7rhtuhpSCitf+BNZyu4pHNdBb/VcRfPhqGmSJGJRkGHCUQ9mRQgcJzbDHo73KiFMrHVhR8ZmyMP9lcQWesI6oEpuuAnory661INYHXbfFk2WwjMBDrfmsnetHqgNq2H98OTy91bdW4E5GY6GvJVe0IAOosyoJg3heIn6pte5wVlxmvedPCuCJae0HPva9uBg5e2VmM+HmxrxMqcBOuSCvh5BpOTd7R0eUx5wm39A+GlE2Kge1Ig8IdiNUqXgDIlFxVv7zKPKeeop5+Yn8IQOT74ovYuEEoclaZz5PxVTeBcZ9EMdXuPwc= X-Bogosity: Ham, tests=bogofilter, spamicity=0.003381, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Add missing tests to run_vmtests.sh. The mm kselftests are run through run_vmtests.sh. If a test isn't present in this script, it'll not run with run_tests or `make -C tools/testing/selftests/mm run_tests`. Cc: Ryan Roberts Signed-off-by: Muhammad Usama Anjum --- Changes since v1: - Copy the original scripts and their dependence script to install directory as well --- tools/testing/selftests/mm/Makefile | 3 +++ tools/testing/selftests/mm/run_vmtests.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tools/testing/selftests/mm/Makefile b/tools/testing/selftests/mm/Makefile index 2453add65d12f..c9c8112a7262e 100644 --- a/tools/testing/selftests/mm/Makefile +++ b/tools/testing/selftests/mm/Makefile @@ -114,6 +114,9 @@ TEST_PROGS := run_vmtests.sh TEST_FILES := test_vmalloc.sh TEST_FILES += test_hmm.sh TEST_FILES += va_high_addr_switch.sh +TEST_FILES += charge_reserved_hugetlb.sh +TEST_FILES += write_hugetlb_memory.sh +TEST_FILES += hugetlb_reparenting_test.sh include ../lib.mk diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh index 246d53a5d7f28..12754af00b39c 100755 --- a/tools/testing/selftests/mm/run_vmtests.sh +++ b/tools/testing/selftests/mm/run_vmtests.sh @@ -248,6 +248,9 @@ CATEGORY="hugetlb" run_test ./map_hugetlb CATEGORY="hugetlb" run_test ./hugepage-mremap CATEGORY="hugetlb" run_test ./hugepage-vmemmap CATEGORY="hugetlb" run_test ./hugetlb-madvise +CATEGORY="hugetlb" run_test ./charge_reserved_hugetlb.sh -cgroup-v2 +CATEGORY="hugetlb" run_test ./hugetlb_reparenting_test.sh -cgroup-v2 +CATEGORY="hugetlb" run_test ./hugetlb-read-hwpoison nr_hugepages_tmp=$(cat /proc/sys/vm/nr_hugepages) # For this test, we need one and just one huge page From patchwork Tue Jan 23 07:36:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muhammad Usama Anjum X-Patchwork-Id: 13526930 Return-Path: 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 43DB8C47258 for ; Tue, 23 Jan 2024 07:36:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A250C6B0082; Tue, 23 Jan 2024 02:36:25 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9AE096B0085; Tue, 23 Jan 2024 02:36:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 84E8C6B0087; Tue, 23 Jan 2024 02:36:25 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 7121F6B0082 for ; Tue, 23 Jan 2024 02:36:25 -0500 (EST) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 1DA3940685 for ; Tue, 23 Jan 2024 07:36:25 +0000 (UTC) X-FDA: 81709767930.07.6995878 Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) by imf02.hostedemail.com (Postfix) with ESMTP id 5D56E80004 for ; Tue, 23 Jan 2024 07:36:23 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=collabora.com header.s=mail header.b=yjpWZT5I; spf=pass (imf02.hostedemail.com: domain of usama.anjum@collabora.com designates 46.235.227.194 as permitted sender) smtp.mailfrom=usama.anjum@collabora.com; dmarc=pass (policy=quarantine) header.from=collabora.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1705995383; 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-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=2asjm0ZjDvC80Vx/BmtTl2lfNKtG9TYBO3r55xTxbaM=; b=8eGBznSzJ0mTx3SHQ8hCntOgROj3yFHPgZDCKg6T64C8BAUuwHsZxpRtPwctskY/sq4DiO Ov3eN7dooGIlvXGOQVNKIchqREIu5SXZnnqGTSg1I6NKQNxCrBrSNZu6HcXjQgRTUuE36F 2ljTfn/N7jA+BCPL+sv3eusGmYjRKzI= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705995383; a=rsa-sha256; cv=none; b=kILGOXm83kiMbnqFaoLJVW3mLUCzC/pV72LwC1BcYIPGQqLj4zeqGx+bau3z7+6lwhfZ+P 88ccfoJUm0etbdVALC4LUVe1r2Z9oeQa1UzbvgsHLBBTRqbL3iQ9xDgsTxxUPXtVIvwd1k YrbR/099wH+nFtffv3L6c2q4aLUi4SY= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=collabora.com header.s=mail header.b=yjpWZT5I; spf=pass (imf02.hostedemail.com: domain of usama.anjum@collabora.com designates 46.235.227.194 as permitted sender) smtp.mailfrom=usama.anjum@collabora.com; dmarc=pass (policy=quarantine) header.from=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705995382; bh=RONb+w30PwJfAdE6WvIlbcO0ThwKw/iY7UkyK1YT6Hk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yjpWZT5I4L21f59z0O8zIlh3zXmK/YWUjiAx/7ueI/Zd/8fzpzx9EyJkeF+KLQxpV vYU+3lqu8MSK6lbJK9tjM8HgnJNmO5eFLAAc+s9IbfiMyy7LdN76x1ZCccJ/NvAS9B 0sghzR1FFnrI6Td4+IGjpfqNHJQH1BFUmFBfwESp7vwo8WJknodVYqX03iQ+s+KQVE NPiR8VXkg0hH2iNY0461oBv9e9Spi5dpz8kIJTZud2qFLW5Jyip0Jueurt8qnEcqxH yhFrRSttKNvBTHS2ovlN8vB49CAVl4OQthwORC7KKiCJOvnQKPJKfC0nxTqjPQp2jK CEva9SZ+eibnA== Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id D553F3782066; Tue, 23 Jan 2024 07:36:19 +0000 (UTC) From: Muhammad Usama Anjum To: Andrew Morton , Shuah Khan Cc: Muhammad Usama Anjum , kernel@collabora.com, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] selftests/mm: run_vmtests: remove sudo and conform to tap Date: Tue, 23 Jan 2024 12:36:14 +0500 Message-ID: <20240123073615.920324-2-usama.anjum@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240123073615.920324-1-usama.anjum@collabora.com> References: <20240123073615.920324-1-usama.anjum@collabora.com> MIME-Version: 1.0 X-Stat-Signature: g3wfu3ef1me9xdcumzsqyqe5scsyi54u X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 5D56E80004 X-Rspam-User: X-HE-Tag: 1705995383-241639 X-HE-Meta: U2FsdGVkX1/pY6n4xJlDGfqjWaHIfNy7iiHCx3j5otFwK4zjuzy/wqa8lGSB4texW3Rm8pIxy2Y0WQqNH1PM0zKeW3Lp90Jvxbq//Cd0Zs/zHpGkvWm+aw6NDykEcEnahXPNcUTgRBneknlPHG7UwX1D6yyydRO20GH42MHJ6CGYYSF3n+mQdLI0k1tXQA29BJv8JvgC09ESU4V1nzaU8QeyecOPQqgAW6gnkc1Z+n8o62p+4F7q4td+0v0+nDosgbNs6K53kpuDUk6wFcHvTMdfHKaYMaQV2D/8TocG8c1ZzQtC0O1QBFF+pq7q5xf7mzP+OOr5kvKoJbyFNt3ZZqNW+4TRDf2BnldKmDNClRmmpMt8I+rlbJsCaKsnoCKB3fC4rUKxDhYcxUvrcDw4ZOc2lNBPe5oE+gVJODkYo86sAAHNVAOLl5exi5AA9Z0IQyXvz0tprnTfqeE64M24kmV2cF1BVxXwOrDyYuzb77UkwgsP5QptmdwPq6UscnFUY5m8unG2QM7T0Pmq8mw7a1XaBafTNo+yGGw6zwj6jhWvhBGE7tZOyJD7TpTowAPbFLn+SVSw3b6W78Y/dwAKW7+rny2BIpxvYqG70+fRGD4VRT4wLdFmJkTTdETGds9SqAr25E0f5iz/ttmAdEI0BacFEVn6zbUj1nK7QY5KW/pzU0GEwQtrnS7tTjRHQgTnNZedH5xNyqe6BnDi9sLgXjSkbH8t9NrWm6ohgcNSowdjxYIvgrSCPn/P4xo0O3a6GtMdYGa+RZ3UQS/aYctes7hJd/IDPunpiO/hB87bbEgtr/DerLAz10OCJfFKgeTaRnHBuN1okNh6qED2IGO6pHWHTpfiZ9aNU87WhEfOhrKkVs/dodYGRt7hKnxG9rwfJ2I2Af9m4BbYIykpUbjpPzLMgMaGP8qGjarOjZDCwKBt76yDp7gqUsU7fFNYBsOvfXj2FCf8qgse+4EoKhm ObkmiIwG FFkTNxXxfeFbmD9lVUETbZQ8d2xYXRFIy15+fotsULeRBi3O+1StKwmo7Y0pPo2HiuxSQBJbrxWVVUuhIF20CrNlPxWJlWbXWPZ+8po2DsdpCqGfUvS9POSenb/iuRJtUQdrMdr8ETGdAYj2xxXepa9UNRSGwutxhL4Zrxhv7gH7RcJ6ylH3kLf0i4Xu5priNL/tygGz2qhl36f2/fymqAB+ZAYyGaX7RTlbldMuGAWJK1Q8TR5MQmS4kPwwCFTTb4xhcX2IFyKawGuKdZWa5MIpWISPqNFNjCYGn1mGuBCX6GCs= 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: List-Subscribe: List-Unsubscribe: Remove sudo as some test running environments may not have sudo available. Instead skip the test if root privileges aren't available in the test. Signed-off-by: Muhammad Usama Anjum --- Changes since v1: - Added this patch in v2 We are allocating 2*RLIMIT_MEMLOCK.rlim_max memory and mmap() isn't failing. This seems like true bug in the kernel. Even the root user shouldn't be able to allocate more memory than allowed MEMLOCKed memory. Any ideas? --- tools/testing/selftests/mm/on-fault-limit.c | 36 ++++++++++----------- tools/testing/selftests/mm/run_vmtests.sh | 2 +- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/tools/testing/selftests/mm/on-fault-limit.c b/tools/testing/selftests/mm/on-fault-limit.c index b5888d613f34e..0ea98ffab3589 100644 --- a/tools/testing/selftests/mm/on-fault-limit.c +++ b/tools/testing/selftests/mm/on-fault-limit.c @@ -5,40 +5,38 @@ #include #include #include +#include "../kselftest.h" -static int test_limit(void) +static void test_limit(void) { - int ret = 1; struct rlimit lims; void *map; - if (getrlimit(RLIMIT_MEMLOCK, &lims)) { - perror("getrlimit"); - return ret; - } + if (getrlimit(RLIMIT_MEMLOCK, &lims)) + ksft_exit_fail_msg("getrlimit: %s\n", strerror(errno)); - if (mlockall(MCL_ONFAULT | MCL_FUTURE)) { - perror("mlockall"); - return ret; - } + if (mlockall(MCL_ONFAULT | MCL_FUTURE)) + ksft_exit_fail_msg("mlockall: %s\n", strerror(errno)); map = mmap(NULL, 2 * lims.rlim_max, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_POPULATE, -1, 0); + + ksft_test_result(map == MAP_FAILED, "Failed mmap\n"); + if (map != MAP_FAILED) - printf("mmap should have failed, but didn't\n"); - else { - ret = 0; munmap(map, 2 * lims.rlim_max); - } - munlockall(); - return ret; } int main(int argc, char **argv) { - int ret = 0; + ksft_print_header(); + ksft_set_plan(1); + + if (getuid()) + ksft_test_result_skip("Require root privileges to run\n"); + else + test_limit(); - ret += test_limit(); - return ret; + ksft_finished(); } diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh index 12754af00b39c..863bbc2015332 100755 --- a/tools/testing/selftests/mm/run_vmtests.sh +++ b/tools/testing/selftests/mm/run_vmtests.sh @@ -294,7 +294,7 @@ echo "$nr_hugepgs" > /proc/sys/vm/nr_hugepages CATEGORY="compaction" run_test ./compaction_test -CATEGORY="mlock" run_test sudo -u nobody ./on-fault-limit +CATEGORY="mlock" run_test ./on-fault-limit CATEGORY="mmap" run_test ./map_populate