From patchwork Thu Jul 28 00:16:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, Shaoqin" X-Patchwork-Id: 12930253 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 3991CC04A68 for ; Wed, 27 Jul 2022 09:13:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B660A94000B; Wed, 27 Jul 2022 05:13:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AEDD5940009; Wed, 27 Jul 2022 05:13:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9676C94000B; Wed, 27 Jul 2022 05:13:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 84105940009 for ; Wed, 27 Jul 2022 05:13:39 -0400 (EDT) Received: from smtpin31.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 57B04C0B0A for ; Wed, 27 Jul 2022 09:13:39 +0000 (UTC) X-FDA: 79732316958.31.23CF145 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf20.hostedemail.com (Postfix) with ESMTP id 393DE1C00C9 for ; Wed, 27 Jul 2022 09:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658913218; x=1690449218; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=m1SaoX9uSfbY4s1EjmnVRFaXJa0od/V0m4Hy6L3DAng=; b=jRuvhD1n48QbN3Bu6uBMs6cySx2DBe+q6BqOFK80SJY7nXpVH/toA4D/ PhFaE4ckUMnknuvlN6gHp9glArpta/DWzETWpHoh7FbxoIa23Pv53r9wY lJiz6ewVU/Ur1BzRTSapSXvg1GXTgUQwCOJl/t7Homzt+fKtiTz5AzFvI mgQ//n+w1KHUPFb7WFueZ9/3Y57DXfboz/q4R5i8Ggdvxt0F1L80zKmDZ SliJpDJa4o0trCPEQlN9dEp6XSzHtVu/zE4ZSAvoyU56n+UkHjXqMofO6 iGQhhlnxt1DFzG36PZu5T8qW7Sc0K+/AkziR4m+0yjtwLMZ6Ipq88ioSs Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10420"; a="349890558" X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="349890558" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2022 02:13:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="659113574" Received: from q.bj.intel.com ([10.238.154.102]) by fmsmga008.fm.intel.com with ESMTP; 27 Jul 2022 02:13:34 -0700 From: shaoqin.huang@intel.com To: rppt@kernel.org Cc: Shaoqin Huang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] memblock test: Modify the obsolete description in README Date: Wed, 27 Jul 2022 18:16:15 -0600 Message-Id: <20220728001615.19099-1-shaoqin.huang@intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658913219; a=rsa-sha256; cv=none; b=JKuMrmQnj11zbWxyV++kC5w2gmyfcVnIOQrCSrSdmAl2silqApk8WR6Z78PeVVDH6gfEIB 2VLwUyTDnTN2jh1sG1oWtx0hzo0ZZuNlrlp3zIKVvv0PCMS59PkmeZRGFBGlTph50fXrj4 SzdVgR79p5F3im46F3HCK/FPs99jzxA= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=jRuvhD1n; spf=pass (imf20.hostedemail.com: domain of shaoqin.huang@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=shaoqin.huang@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658913219; 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=LjT40ZxggN7j/WK9YI3I2AnXn6NFf+Yjlu1Dmm4TR0w=; b=CAL3Y5VC9lS+w+XT17JUxx/YU5rVwnuydPM4HQthwRV1EEhZn1qOqMDhS7EoR5y4TtRhDh MTH5fWej2ZN2HYKb2hmlHaqKrIAeHPI1XpQEVqxAcdENMkP+aCpER22/wa++F6qaQWTL/D BcU5doRRdneSGp/8ZyTbAZGOZGsjX8Y= X-Rspamd-Queue-Id: 393DE1C00C9 X-Rspam-User: X-Stat-Signature: cz1np4jy9xoyiyn4wesdqfuq58ydj5hs Authentication-Results: imf20.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=jRuvhD1n; spf=pass (imf20.hostedemail.com: domain of shaoqin.huang@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=shaoqin.huang@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam08 X-HE-Tag: 1658913217-163855 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: From: Shaoqin Huang The VERBOSE option in Makefile has been moved, but there still have the description left in README. For now, we use `-v` options when running memblock test to print information, so also add some description about it. Signed-off-by: Shaoqin Huang --- tools/testing/memblock/README | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tools/testing/memblock/README b/tools/testing/memblock/README index 058146b528a5..f39cc0aa6b76 100644 --- a/tools/testing/memblock/README +++ b/tools/testing/memblock/README @@ -33,20 +33,21 @@ To run the tests, build the main target and run it: $ make && ./main -A successful run produces no output. It is also possible to override different -configuration parameters. For example, to include verbose output, specify the -VERBOSE flag when building the main target: +A successful run produces no output. It it also possible to override different +configuration parameters. For example, to simulate enabled NUMA, use: -$ make VERBOSE=1 +$ make NUMA=1 -This will print information about which functions are being tested and the -number of test cases that passed. +For the full list of options, see `make help`. -To simulate enabled NUMA, use: +It is also possible to pass options at run time. For example: -$ make NUMA=1 +$ ./main -v -For the full list of options, see `make help`. +This will print information about which functions are being tested and the +number of test cases that passed. + +For the full list of options, see `./main --help`. Project structure =================