From patchwork Tue Jan 16 09:06:40 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: 13520595 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 1F04CC47077 for ; Tue, 16 Jan 2024 09:15:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 93DE66B007E; Tue, 16 Jan 2024 04:15:38 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8ED356B0080; Tue, 16 Jan 2024 04:15:38 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7B6EF6B0081; Tue, 16 Jan 2024 04:15:38 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 69E2E6B007E for ; Tue, 16 Jan 2024 04:15:38 -0500 (EST) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 12599120587 for ; Tue, 16 Jan 2024 09:06:45 +0000 (UTC) X-FDA: 81684593970.15.0B6CB0B Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) by imf18.hostedemail.com (Postfix) with ESMTP id 7835D1C000B for ; Tue, 16 Jan 2024 09:06:43 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=collabora.com header.s=mail header.b=MU4sRVCR; spf=pass (imf18.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=1705396003; 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=G71nsZcpeEVfdf98IumOi36N2xf0t+vSTkXSyLkTsJ8=; b=MDs4THLMJXvheUlfNGDV0BCpCD1X63AUtze8XX49Noj3MTHXbe+RnopGBF2sp6o4FAeNb5 uTrSaUGPExcZ9GRYFHfNbk15ZcWskcECzPNSC0KVzXRSZwUJsBCZfft2quKdXCdk030WdC gkLUE8dHkWnYniQR1d3OgjGCCK761Pk= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=collabora.com header.s=mail header.b=MU4sRVCR; spf=pass (imf18.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-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705396003; a=rsa-sha256; cv=none; b=sqP3MxEZvXlD0QSka+25laqyD22rmu2vFKS00o0PYWQkE4jn2s6cXSi4kr2oYtipQWIuWG i0rgHv4JtbfW7mWF3BB32qAQpviv2gAymW1b2vlQbzWSM3y9HVZWcF6E6HTM3EjAd7StPe P4QGdus0rDDfc8F0r1c5dmevXPxFNqg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705396002; bh=Zj/SXZG46k5uZDglokWIJfeqxlGt/89S7y+UnE+6VC8=; h=From:To:Cc:Subject:Date:From; b=MU4sRVCRFGtDob+mb1F2AivlOQO6ine81fDluyAGOB1fudFZZejybpxvosauvcX9t Cubtyk/43nL/XcS9q1v3oV5iU/kC7exHyT+bK4qSyZhtUx/MjjIsEwzcDepdGfUeko QJCNKWTCp00wjuiiV/vfHUnACHRLJ9exTFckQG47/i7XgcvtasT7h8d2HnwsC5k14f moTSAQXBOdYK2FAYz3GFDeIbcGMMzIrTG8fkThp8KKj5fTj2a09/gktOuqzChguF2h 60KXqdARDvoDKqOOjRZkP6guNo3M0Rzv0JxtywMUQw77TgsDIP5weCNqy6cm82d9uZ PcbiRC60bdoWw== 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 52266378200E; Tue, 16 Jan 2024 09:06:40 +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] selftests/mm: run_vmtests.sh: add missing tests Date: Tue, 16 Jan 2024 14:06:40 +0500 Message-ID: <20240116090641.3411660-1-usama.anjum@collabora.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 7835D1C000B X-Rspam-User: X-Stat-Signature: usuhjkz8n8iws7scakxowy1txamuqhyk X-Rspamd-Server: rspam01 X-HE-Tag: 1705396003-541233 X-HE-Meta: U2FsdGVkX19MJjACH4MuxRGUDvYimv/whA6a3DXxv8n1+SZioWMvRldkLW79XrI2WkSb3f5ZrIosNqabnmBHE3Kq+EC9SSqd/xjQeNoMVlx1SknWMyJYNG45vvFygrcJEe81q5kvVQPbfw9giN3LUylvv7KGdqfLJODJzA+/cMaj0sE+fx0aAf5uYABWBZVZXDr6mDjLpe2CLZ9wpxF1PNroESSenPVb9DPlc7nO0bnbaf+y4/8l/G9QwtHvmnxOS/pgTC+dHxN2XwrMoEpcT/PCKCXM4N7L19zGBZ+o6F9J/oPeYofINKwA8KoLZqdra80CWpd6lmIu/0bNlvGQ6N6GJbfNz3VRUZ+9rGWiwqcdxnFD46wWiKfT1hlQ/Y+FNzEeRp3DchzaiRwwOuDsS6fGT6Dg9phwNwU52trOLtEdVtR8DsLJtK5sVVWozRkdOojrOzgF+Ne9BJbmfmXmO6MqVGZsjxnOK6ErsH9uPmA0K+Alc3iOHf1KMgOvlHP9EoSbgMFiKtQhxbwD+GZjTCvMCaPI7T0dVueSP28Umxykx1401GjSJGkRQTJhkDgVhpOc9IW2L6UAABroeqgGFen6iCjPndgOMfF+Vsh0T20LBLxigUhvFVOrd89coFh8naNRvgSImspo/J0VvC3VsLvA0Jvd+cOuQJj3dQEJg+CDSbramlIzhHe27l8jdkrnuOrwsvoqBASGrfiKvgfi3DD1eM8xS9IV3KEtx7/2H25g+KUGrAZjwn3hzd4AWkLPF7JCSG3k9sZLNATjaxzf2eEpvU7KW/hg+FW+N2uw1sqa0/LoBtBo6lDNwrabzB2dGXXm6DNeSkyWjQATcCxNOcZxHBdUb6IpQKtqxG5QftYYeQ1HYAts/ujqPmDqPgqOf1W7EfLF5C650UqZIvGXU/lERotfMsGxApLuDRp9c8kuJn9nwgo1gcL+nD7gOAWk/QDkQpGmzTW3VR9IPzN ANuuMuvd ZihWjtgJB3wKV6oaS1xXuZNEgH5mRWfRKaUygQups2qSU2NZa3tMN+pSQwQ/slE6DP5UFWiZkvABVAzsi1d9I42KzMKTglXFWDV3rByZ/hgHDeYObWO6QwmadImVMZIEaemnFalhXq1Vx60aMSkfyzCYUOpsh7TcI2a8URLe//vbLBHnTP8HWPps/Xnh03HKnx14vtAXO99xXdnqhf8sBCESrk57UsdkYOmDmq2cVqvqW6Ju+KwGpTYOTN8rZoV0z1QD7dDEhgN2DCKngJQInX4la5YKuAFqrcPQzWvxSHymHI00= 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: 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`. Signed-off-by: Muhammad Usama Anjum --- tools/testing/selftests/mm/run_vmtests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh index 246d53a5d7f2..a5e6ba8d3579 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 +CATEGORY="hugetlb" run_test ./hugetlb_reparenting_test.sh +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