From patchwork Fri Jan 10 23:50:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zi Yan X-Patchwork-Id: 13935600 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 EF4EBE77188 for ; Fri, 10 Jan 2025 23:50:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 18D726B0095; Fri, 10 Jan 2025 18:50:37 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 13EAB6B0096; Fri, 10 Jan 2025 18:50:37 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EF9626B00AC; Fri, 10 Jan 2025 18:50:36 -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 CE16B6B0095 for ; Fri, 10 Jan 2025 18:50:36 -0500 (EST) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 3A33D140F5D for ; Fri, 10 Jan 2025 23:50:36 +0000 (UTC) X-FDA: 82993189272.19.CE24617 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2057.outbound.protection.outlook.com [40.107.223.57]) by imf12.hostedemail.com (Postfix) with ESMTP id 71FF240006 for ; Fri, 10 Jan 2025 23:50:33 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=rikZQAlQ; dmarc=pass (policy=reject) header.from=nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf12.hostedemail.com: domain of ziy@nvidia.com designates 40.107.223.57 as permitted sender) smtp.mailfrom=ziy@nvidia.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1736553033; a=rsa-sha256; cv=pass; b=Z+B0culmyeOQsFmNp8yFQvQGwkFka4E1YbIGAPNx8l9hvXcArrcka9RChjC4pkACE7QVZA wwjaw1dq/K967SlNiV/IUQ0EEfDMAh9qpC3BIt4GnEoMPiASh2TAbGeVWRBLpgGlfQXaqv xjjGyy5z5cfrHkRdOnrs3B4SdyZvyt4= ARC-Authentication-Results: i=2; imf12.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=rikZQAlQ; dmarc=pass (policy=reject) header.from=nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf12.hostedemail.com: domain of ziy@nvidia.com designates 40.107.223.57 as permitted sender) smtp.mailfrom=ziy@nvidia.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736553033; 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: references:dkim-signature; bh=pvuo0DQWBpDZQjd2+y9sIIdbZUUKkDzGaFuMGZpzt3k=; b=Y8wkHtdJbgQY0pclQw7BzjRXcZhsanerhMIBiQvtS1CoSQ+JZRoUqZDYHQYR1JBpikpt9p Y+bbgzYDEP6f6+KFY6zSJ+dj3nfOpC4MrFUrMKfU5shnWmrGrv1/jT2N5GlAK6xinl7Y8s s7z+H4NE+mOQy8mRV52zztCIuBtNitg= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UVPLjhs4T0KxFAtQePS3gmFnADBxjEXF+UxGrN98EtUxMkkFtLXAE6Ijj3IhKHzdjf1pFLbxvgBHAARN3h7AutPEpvTv0yiArcVmS6yN8GFojLpPafPSr1ZFlrG31LzFQPxzrNYXu2ndg7AIhUATAQfxKAjjIj9gBu4CYTf7qVagbIkWj3q+DXsTQOUWnqNFwlnAjh0oIGulhXbhtPt1fbHxfxwpjfwTbn27d0svmH0rBOIAptC3S6HvaUVsdoMfgw0e8QNCl3rcsRpdgA8uYkURPb2/ql3waJnKDA+qQuik80q91v4Fl/41NjsB4wiGkIe2dH/nKEqAxoXCYwyjMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pvuo0DQWBpDZQjd2+y9sIIdbZUUKkDzGaFuMGZpzt3k=; b=XHOXLhpNSrtUD5seJogV1RQK1tU4er52pIJniR6KQJmMTxTUNhVyEXIT7FGvO9uJLWc8yokdLUSgtUAa8XCatnY4K4q7lriWJ+03NC3jBDDCpxp0zRk7pMjRkzjlvU1yy70MpH00DarAtw86jTtCBX1A/VMnB+HUmWy4Wfs7v2qZZP5SGBEDEmVQMQuEQG6MQfmjRubUahL3887PuHPS7XCFDJI7QyktVx2zAji4dwYeq8oFQZE0L+hrrz2PuuBPp8U85t7jjMbaVbHIOQgnsSAMy2dx4dD7ucLAEIa4Sm1+jvpH4D1CKh0nJ50recgU5tqVgNnfOfX9lg2h6uezKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pvuo0DQWBpDZQjd2+y9sIIdbZUUKkDzGaFuMGZpzt3k=; b=rikZQAlQiaGyVWG0pW9gqXKpE/lTZPcTLCppEnGci3df22Cz+oXtSaz1JPx/lC9oT64tMRvM+Z5TicH8RF/kYlQBcjkGeBGRzxTL0SmQSf9kIx1IRSA0A7kSNEhxrc7jml2kFQsMPmlRukpiR8wM7n4iLGW0mQC4Lug0ZhvyrCeSWnq5PTpz9qyl2+wgYrOK0XRVxQgpLRj/batmgamPQg5lyWslhUwcl5iCyxWh3q50UqQFgh3YDDM/olf34rOqaWdKrYyNt8bSJegL+P+NCGeU6N2BCr3CjOCPRKtr+s+tyiDm6B/6T5rSaTYFZiMhBjVYxIo9ENAxHzI2M26iTA== Received: from DS7PR12MB9473.namprd12.prod.outlook.com (2603:10b6:8:252::5) by CY8PR12MB7753.namprd12.prod.outlook.com (2603:10b6:930:93::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.11; Fri, 10 Jan 2025 23:50:30 +0000 Received: from DS7PR12MB9473.namprd12.prod.outlook.com ([fe80::5189:ecec:d84a:133a]) by DS7PR12MB9473.namprd12.prod.outlook.com ([fe80::5189:ecec:d84a:133a%3]) with mapi id 15.20.8335.011; Fri, 10 Jan 2025 23:50:30 +0000 From: Zi Yan To: linux-mm@kvack.org, Andrew Morton Cc: Shuah Khan , Rik van Riel , Alexander Zhu , Usama Arif , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Zi Yan Subject: [PATCH 1/2] selftests/mm: use selftests framework to print test result. Date: Fri, 10 Jan 2025 18:50:27 -0500 Message-ID: <20250110235028.96824-1-ziy@nvidia.com> X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: BN9P221CA0019.NAMP221.PROD.OUTLOOK.COM (2603:10b6:408:10a::34) To DS7PR12MB9473.namprd12.prod.outlook.com (2603:10b6:8:252::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS7PR12MB9473:EE_|CY8PR12MB7753:EE_ X-MS-Office365-Filtering-Correlation-Id: 46ee9696-2a14-49f0-2e82-08dd31d190eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft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aTGnd4fBuTKvTHqBES5mLSTUxHqBPq2sLImobdFBkBHRdI9wPNQqCm2glo+sZIVbVS0ig/4pCbklTInzs7g0kMYq9M0f0BEz4ae/htgsc89hqsTAWoERoDPCkxf8dArJywHaLdRPRGuSJBln6uwuuWjCK3zAP/eFybu5B6U4TQfZO7Nefs7MnXqTSuJcFCUO1QHLJyCR9hnrpmY9izv8LuaNHTq1OMEYPoFNbThAeucCzO/5EheUgxr1OBMDH2lrbyI1aRahSG9ykVKzv02L8yKQg46gvEf2uQFlOL6uVg6+SlmfXXEsSxUy+Fz7cSeFq4utj2KQICLjIV57pBZVaaDFX2fpaLNarwVW2PGQTug/OgyRhQ7CZ1zyEQl+9pWoDge X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR12MB9473.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(366016)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pC4q3dHGSIXZjCaQuRnye32XPNzXlz9Zll+X7pVnVgPocgYM3qHZI5L2v4cG0Ru5bq5HNoNTGmyPVAcqPzryF3/3FcYMJ1eiMTw1OQX4jNRcR23eoZxKU7GCPMmX+i6mWldN+OFz1SffOqY/lv1SHcLAV4ojh6aFosT25eTc5rQO9pQrObJLudGeKfXo4imk4DHWzYxX2gTR2VJUZ3CqzVQdxrLb/y6NUiQVQnYJHc6nsI1xOorQzHnOw2gRoVqIwwkQzqn1LVtPNCws+/TH/7MXRGhSyphd4YDCaEkb3MwmyH1qw5OAkMnsIPrAUDzXfdm/UVWhwZ4IVycTQTV+C4LfGbWmBPQP6jK4MaHPT/NFPP5CzT6ANACavdF1slupe3S0VJpF6C8HVifsfK1VXcUPoiMK4qvASahVCUsBxIJVgOgw6plrLAg5ur2v/jOEV4q49KFo/dXbDH9tZsetFFyYg8wSuOl9+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h1Gy/dd2I= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46ee9696-2a14-49f0-2e82-08dd31d190eb X-MS-Exchange-CrossTenant-AuthSource: DS7PR12MB9473.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2025 23:50:30.7037 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UeA6fN65/Kz+E3r8nFwQMHYcqR2tZ9hc+nDenfZG1pYwe+nn8aifS03WYyFmwBFK X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7753 X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 71FF240006 X-Stat-Signature: szkgbnzrcj9d65nedje1ikuex9zyeaso X-HE-Tag: 1736553033-156764 X-HE-Meta: U2FsdGVkX18jkvnFaiSFyq3ZxT6TbO3mD7UpByMoP8xQzslIxH65dSL0QrFaU+KR5j3/+HwgPAK/b/LxrqpkOSXpJThlDG/P5lrwyXRJ+CP849ebNFXEcLEftsFqNZ6oiyNqH0UvsEMri9hczdCx8hgAWZ1OuUBR13Oitn3o0P01I004LF2Vr6IX+QW2Wdkmm9AWFhO6QJ6n6NntM6rOHh7bjJV2ctObzG+Z7zwBBUwbyEmal7PAO28P4j2ZjPil3oaajqPOVLWAT2C9wTQ6gsD9FTqBOM4H67fIrc1F1BlpdNlSrS6SrwJj1ivf3npeQ6ryI6U0FiMFn1V7I4gfjzLBE47c80PjcT+8rvq5RL/WB9ulrnblifXTROq1QMrPEvCGgV6FoXHWF3WBxh7rGVE8FYxF7ocaSRvVSwj+HKbpNrWBG6u5wa+lUUDBefwvlVUsB1OzrZcWW1GjutllwRPTYTtHqmCgy35+m50MCGSHSdE1SdEK+mmrMYf2pAjm2/yiMiQITd5LOvSWsQrmYmk88ZWCsTI0GfHYX0pJRucLHW5N3+uoi9cFy+MvVG5eYrRgV4MvWIzrjv4O6RkbtYXXkVIbUQx3A1taRT7+eAYvae9Ls9qC3aGFu15UX6iJzrhyrv69S0O4VLt3qtwYJCGL+3me2D3wsIRsISx3n03ZwfNUKATb/IbXlriMtBSA/J1FLH8apS0WqwBmwzqeMA00935vXXLD95eLKsdlSNtXOGsPvGmxhkkTDr5T1HcYyQhehnHaATbgRh3NodZQsjU4m+w/bUF3SFUIn69WICBPoXfhnwo+c9y+YD5q5hdN03L4hD14Hy/snrgBCYAoUWxQRm/wE2EGLoWTVOntPsV4H/T+Q0yfJnNudfEQa+JNXHFS+rA2NNM50+7eyNrDCXN4ekDHo1ZwQfk428/jKKWaLumdWpsX2iSgr2+CpYXvXCmOI/Uo+hZ3WLFwEVf jEvon7Im VyOpsdy5ximXY5BtsEkls5vfym+5Y04QGc2VtovtdkcoRjcYbNVB4vAVAoLx1Jv3BYbuXtfcHiLeIZyDfP5jVB3Wsf6rTnBDzIqCPB+Ke6MIbT7leT4vmlsUTjueoQ/lApXnvC0r9rOVAWYjQWNMV89eaPllrfX/613G8G4WI+v5M5a50Lph8VK/2pr5soLIxKi4pVLRky1BuiA4dSSir5fihTtIVA9QXn78Xz9GdERBZov+CG9dq5eRr6sbEvsl4iaU79K+pdAZ3awXPoTnlj76XahzivTgl4QFO/H5UbkdR1YGUudDneWlzITASFDAzMi4fYXc6wd1VKMs9Un5u+Mj1uw== 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: Otherwise the number of tests does not match the reality. Fixes: 391e86971161 ("mm: selftest to verify zero-filled pages are mapped to zeropage") Signed-off-by: Zi Yan --- .../selftests/mm/split_huge_page_test.c | 34 +++++++------------ 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/tools/testing/selftests/mm/split_huge_page_test.c b/tools/testing/selftests/mm/split_huge_page_test.c index 84b1251666aa..128004308233 100644 --- a/tools/testing/selftests/mm/split_huge_page_test.c +++ b/tools/testing/selftests/mm/split_huge_page_test.c @@ -108,38 +108,28 @@ static void verify_rss_anon_split_huge_page_all_zeroes(char *one_page, size_t le unsigned long rss_anon_before, rss_anon_after; size_t i; - if (!check_huge_anon(one_page, 4, pmd_pagesize)) { - printf("No THP is allocated\n"); - exit(EXIT_FAILURE); - } + if (!check_huge_anon(one_page, 4, pmd_pagesize)) + ksft_exit_fail_msg("No THP is allocated\n"); rss_anon_before = rss_anon(); - if (!rss_anon_before) { - printf("No RssAnon is allocated before split\n"); - exit(EXIT_FAILURE); - } + if (!rss_anon_before) + ksft_exit_fail_msg("No RssAnon is allocated before split\n"); /* split all THPs */ write_debugfs(PID_FMT, getpid(), (uint64_t)one_page, (uint64_t)one_page + len, 0); for (i = 0; i < len; i++) - if (one_page[i] != (char)0) { - printf("%ld byte corrupted\n", i); - exit(EXIT_FAILURE); - } + if (one_page[i] != (char)0) + ksft_exit_fail_msg("%ld byte corrupted\n", i); - if (!check_huge_anon(one_page, 0, pmd_pagesize)) { - printf("Still AnonHugePages not split\n"); - exit(EXIT_FAILURE); - } + if (!check_huge_anon(one_page, 0, pmd_pagesize)) + ksft_exit_fail_msg("Still AnonHugePages not split\n"); rss_anon_after = rss_anon(); - if (rss_anon_after >= rss_anon_before) { - printf("Incorrect RssAnon value. Before: %ld After: %ld\n", + if (rss_anon_after >= rss_anon_before) + ksft_exit_fail_msg("Incorrect RssAnon value. Before: %ld After: %ld\n", rss_anon_before, rss_anon_after); - exit(EXIT_FAILURE); - } } void split_pmd_zero_pages(void) @@ -150,7 +140,7 @@ void split_pmd_zero_pages(void) one_page = allocate_zero_filled_hugepage(len); verify_rss_anon_split_huge_page_all_zeroes(one_page, len); - printf("Split zero filled huge pages successful\n"); + ksft_test_result_pass("Split zero filled huge pages successful\n"); free(one_page); } @@ -491,7 +481,7 @@ int main(int argc, char **argv) if (argc > 1) optional_xfs_path = argv[1]; - ksft_set_plan(3+9); + ksft_set_plan(4+9); pagesize = getpagesize(); pageshift = ffs(pagesize) - 1;