From patchwork Fri Jul 29 16:11:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, Shaoqin" X-Patchwork-Id: 12931856 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 95A27C00140 for ; Fri, 29 Jul 2022 01:11:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 153796B0071; Thu, 28 Jul 2022 21:11:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 103B06B0072; Thu, 28 Jul 2022 21:11:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F0D0B8E0001; Thu, 28 Jul 2022 21:11:18 -0400 (EDT) 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 E2EFF6B0071 for ; Thu, 28 Jul 2022 21:11:18 -0400 (EDT) Received: from smtpin31.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id B938716103C for ; Fri, 29 Jul 2022 01:11:18 +0000 (UTC) X-FDA: 79738359036.31.E9DFA31 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf10.hostedemail.com (Postfix) with ESMTP id 7C9FBC0030 for ; Fri, 29 Jul 2022 01:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659057077; x=1690593077; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YNlJolEurApgTUkIs0/evgOyk6Uz5HPUuX//m5/T024=; b=AKPaSROasZ0nVnhrxnA477MODwfvum1qkz/iqmqqTBm0QAmsNgzwh8KN muSiQ4KdoYZZZSZpfF07jRFaDjvq9C0XHJRijf/inSchHP1We+E2ljOWk I+ziPb6EnVK57848gBrAoZqR1kF6+iiTgROAyFFG9SgeCCgqcCYioKiz1 JN4r/fsg4L+Rf6w9Q9puEdcVCbvs2lmz/pmvF7RhxWKL4fC5zx4VJohWI CUCs8ZDUKAFIhTH4qQZTOnF6wHn0klSmRIG74TQ6jOUkIItMY1V5ZZwWn PiDFt2HyOS+L4vhy3jWKOCXMmnQ/eUtZciGpQ2dptxSyaDxlpU2eEJJeK A==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="350367547" X-IronPort-AV: E=Sophos;i="5.93,199,1654585200"; d="scan'208";a="350367547" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 18:11:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,199,1654585200"; d="scan'208";a="551558686" Received: from q.bj.intel.com ([10.238.154.102]) by orsmga003.jf.intel.com with ESMTP; 28 Jul 2022 18:11:14 -0700 From: shaoqin.huang@intel.com To: rppt@kernel.org Cc: Shaoqin Huang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] memblock test: Modify the obsolete description in README Date: Fri, 29 Jul 2022 10:11:25 -0600 Message-Id: <20220729161125.190845-1-shaoqin.huang@intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=AKPaSROa; spf=pass (imf10.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-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1659057078; a=rsa-sha256; cv=none; b=E2Xfq1sYCXj7P6fGRsbbRJnOvK6aAzUWWg3nqRA5neO0f51+2sTTD5EI0ThYVzFRfOGJGi RBWYLt2MQUMbIngh1y28aBozHsjoRQyNF2L90mGkR5eI6FHffMlpQqTAYY11BixIEnoROd wW5S/86fh+2w0I2SK/xuIdd9akGVrD4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659057078; 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=KEjdB1jHX5B1hl8QRJBNkqWnH8Od/BzlAa0qIHo4kts=; b=k8XR93sCKQn/4kT62PB5A0iWJp+QWLnjuY4v1Ul3iu/hZ4bLxr+GbAj6ATV+hZAJvgKyfb evxzEhWlTqIhdrFTB2sgoozAkGlUYQq/9eELFxrIAhkfhi3epy0BYKRxdxIfP66jv6VlEY ypC/fNhdqwgt91wF4PELUKC/4ShJJdc= X-Stat-Signature: a4uptaw9u1cu7ur5os8wzr5kpio8httt X-Rspamd-Queue-Id: 7C9FBC0030 X-Rspam-User: Authentication-Results: imf10.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=AKPaSROa; spf=pass (imf10.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: rspam12 X-HE-Tag: 1659057076-736634 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 Acked-by: Rebecca Mckeever --- Changelog: ---------- v3: - Using `build options` replace `options` to make it more clear. v2: - Tweak the sentence to make it more clear and continuesly. - Commit log changes. tools/testing/memblock/README | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tools/testing/memblock/README b/tools/testing/memblock/README index 058146b528a5..72162b5f4a76 100644 --- a/tools/testing/memblock/README +++ b/tools/testing/memblock/README @@ -33,20 +33,23 @@ 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 -For the full list of options, see `make help`. +For the full list of build options, see `make help`. Project structure =================