From patchwork Thu Jul 28 01:12:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, Shaoqin" X-Patchwork-Id: 12930297 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 19223C04A68 for ; Wed, 27 Jul 2022 10:10:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6243C940011; Wed, 27 Jul 2022 06:10:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5D413940009; Wed, 27 Jul 2022 06:10:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4C2F4940011; Wed, 27 Jul 2022 06:10:09 -0400 (EDT) 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 3EECB940009 for ; Wed, 27 Jul 2022 06:10:09 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 0D658160B41 for ; Wed, 27 Jul 2022 10:10:09 +0000 (UTC) X-FDA: 79732459338.10.DE91F71 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf13.hostedemail.com (Postfix) with ESMTP id A2A5A200C9 for ; Wed, 27 Jul 2022 10:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658916607; x=1690452607; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=eJqnjBLXed5Sycp5HsRP/0/nQuHyMkYLa+orQZuUTn8=; b=DVvZ2at5ITeSBkZV9MvASDeABQXJ7cWu5PpHAV63UCjuohCqYUBASST1 nDi8hxRcnEktCoA/xY3kuVVTGgzxQOBXeaukNDSUwDat2/EUxTpMLcvrq B5IgYVY8l0BZCvEmz4QIljWXkfGNNwwfctzIxIUxWU3UeH3HTdNkD6vQ0 a0MyZ876x6/H9GsBD85toeKqdedwCD4Ueuh1o494JN3BaFVZu6eKnz972 ve43P+5r7xI1dDQ0k6ZHBY37vf+IWDPOU2y59bZtvH4ry2a6LfxzDsuIh G2cKd0wj5jJJ1Fj4+yvgGmxXpJkv5whvg6YCMyzT2ypdfGOPaVBT9/YQS A==; X-IronPort-AV: E=McAfee;i="6400,9594,10420"; a="374496195" X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="374496195" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2022 03:09:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="927730299" Received: from q.bj.intel.com ([10.238.154.102]) by fmsmga005.fm.intel.com with ESMTP; 27 Jul 2022 03:09:50 -0700 From: shaoqin.huang@intel.com To: rppt@kernel.org Cc: Shaoqin Huang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] memblock test: Modify the obsolete description in README Date: Wed, 27 Jul 2022 19:12:28 -0600 Message-Id: <20220728011228.23691-1-shaoqin.huang@intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=DVvZ2at5; spf=pass (imf13.hostedemail.com: domain of shaoqin.huang@intel.com designates 192.55.52.43 as permitted sender) smtp.mailfrom=shaoqin.huang@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658916608; a=rsa-sha256; cv=none; b=OGNsRCm8tfiQ7zTm1QoFaaucK8vV2R3ekZOVYEzowJqs8iiBn2q8LUuuSlfUhLmu9mRoEb c+Q84VaNcq3JeCYoHZz3Dg7hFMaiR9A4qdZX4vPk+xKcTc46bYq0gWqxsGJhP5jbUF/vqU qlSYaNeKAM4nKQQ+3VbMx8abtPTvzSg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658916608; 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=qBwGdxXYTObVSEcF1dcnovc7vms34wdSEO9AM4LzNGk=; b=TBWyKl7OEPWjkozk89wEGSsY0xxoE0yJJsIFXp7toTMJRDM991B+NqoHYtwSVXow/C1PPB uRYk+h/GNofloggLs43kVh9mKyRLwIkT2UfUBaOYdVTdXze6TAc67T36d1EI7Z7rJuMF07 tVdHVmNRMSBKcuB2kCu9/vbWs/OmXz0= Authentication-Results: imf13.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=DVvZ2at5; spf=pass (imf13.hostedemail.com: domain of shaoqin.huang@intel.com designates 192.55.52.43 as permitted sender) smtp.mailfrom=shaoqin.huang@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam04 X-Rspam-User: X-Stat-Signature: 7tzoq8ebg4zgq6yadh3dt8qgsnyrsbhd X-Rspamd-Queue-Id: A2A5A200C9 X-HE-Tag: 1658916607-506182 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 using the new to replace the obsolete items. Signed-off-by: Shaoqin Huang --- Changelog: ---------- v2: - Tweak the sentence to make it more clear and continuesly. - Commit log changes. tools/testing/memblock/README | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tools/testing/memblock/README b/tools/testing/memblock/README index 058146b528a5..d3875e7065fd 100644 --- a/tools/testing/memblock/README +++ b/tools/testing/memblock/README @@ -33,16 +33,19 @@ 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 is possible to control the behavior +by passing options from command line. For example, to include verbose output, +append the `-v` options when you run the tests: -$ make VERBOSE=1 +$ ./main -v This will print information about which functions are being tested and the number of test cases that passed. -To simulate enabled NUMA, use: +For the full list of options from command line, see `./main --help`. + +It is also possible to override different configuration parameters to change it +test functions. For example, To simulate enabled NUMA, use: $ make NUMA=1