From patchwork Tue Sep 13 06:41:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, Shaoqin" X-Patchwork-Id: 12974470 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 43150C6FA82 for ; Tue, 13 Sep 2022 06:42:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B6D948D0001; Tue, 13 Sep 2022 02:42:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B1B7B6B007B; Tue, 13 Sep 2022 02:42:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9EDED6B0075; Tue, 13 Sep 2022 02:42:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 918226B0075 for ; Tue, 13 Sep 2022 02:42:29 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id E5A6C1A102A for ; Tue, 13 Sep 2022 06:42:28 +0000 (UTC) X-FDA: 79906118376.15.A555B5A Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf21.hostedemail.com (Postfix) with ESMTP id 4954B1C00AB for ; Tue, 13 Sep 2022 06:42:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663051348; x=1694587348; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=daaV3WZWukjbgGvbQ73mOCe8nI4eaN3LDyARuyKPkhs=; b=BgippC8O/ghbeD1GSxcVuU8vSEAKUWxg8aAaNQpC3AWRccjZsgilUyo2 nENx/Cn4Iab30bJqLJrJQ8+dxsNUemRYJJspFBlfKCVNYPV6+BKWWPt3p 5BgwCiyeX8GNBQVWSfYgD5Mz318Lp6tYbK6L7WY5MAATP//TWVJ9svzSM e7b+xHmIq6K/dvBC/MI0DrCzEB4Ljuzzyly9qSkTRk3GbRx1ppwij3Z5w qjqj06nMyYr65msnBTaHHV1A6CeE/J9q4GNc+imc+km71fPnvgDY4wC4F 2GO0+/Zu1Eb3Jn/Gwrhw/T7bnp0nYmJnbj+rtX6vknSYOzdtjopwwEdai A==; X-IronPort-AV: E=McAfee;i="6500,9779,10468"; a="298851583" X-IronPort-AV: E=Sophos;i="5.93,312,1654585200"; d="scan'208";a="298851583" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2022 23:41:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,312,1654585200"; d="scan'208";a="678428897" Received: from q.bj.intel.com ([10.238.154.102]) by fmsmga008.fm.intel.com with ESMTP; 12 Sep 2022 23:41:56 -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 3/3] memblock test: Update TODO list Date: Tue, 13 Sep 2022 14:41:32 +0800 Message-Id: <20220913064138.407601-4-shaoqin.huang@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220913064138.407601-1-shaoqin.huang@intel.com> References: <20220913064138.407601-1-shaoqin.huang@intel.com> MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663051348; a=rsa-sha256; cv=none; b=RYAepF57mSQqMuMjRaDtFY6dGpXI9FL3lHSwn+hBo/YSEd1OytixIJMh3EE7pfqsafdfd8 RwgnxwEt2JF2XUtub/ED20aPtUur1OlIj5gXUW1EKdq5UcXYaU1Wp4G1jEM1y5RLN9EyJx Hn1rYGemugbMyBgC6XBuH3M6p7HGKNo= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=BgippC8O; spf=pass (imf21.hostedemail.com: domain of shaoqin.huang@intel.com designates 134.134.136.24 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=1663051348; 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:in-reply-to:references:references:dkim-signature; bh=s1k9mRuJjmyXidKKJwOEnc91tA8GRPaK+2E2lNwx6K4=; b=RZadB3FgnIpiH+0ggvLZdFP9YLzjx+GwUnxSes16P9Y/eP24KCwIGMzfKrdy+KWI4E2tHu grc8TihBQ/lNZ+TjBcQTKdB8D+HN53TfEVf7t4oOB3o/PkuEygzvEjW5vItSoUsKP+xZds bV03n35KsQV6NSqhvPPaLA0udebLVj8= X-Stat-Signature: 9e66st9o3zgudroyemxnsfg7rgeg3mzt X-Rspamd-Queue-Id: 4954B1C00AB Authentication-Results: imf21.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=BgippC8O; spf=pass (imf21.hostedemail.com: domain of shaoqin.huang@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=shaoqin.huang@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1663051348-746129 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 Remove the completed items from TODO list. Signed-off-by: Shaoqin Huang --- tools/testing/memblock/TODO | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tools/testing/memblock/TODO b/tools/testing/memblock/TODO index 33044c634ea7..503cc96fcdc3 100644 --- a/tools/testing/memblock/TODO +++ b/tools/testing/memblock/TODO @@ -1,17 +1,10 @@ TODO ===== -1. Add tests trying to memblock_add() or memblock_reserve() 129th region. - This will trigger memblock_double_array(), make sure it succeeds. - *Important:* These tests require valid memory ranges, use dummy physical - memory block from common.c to implement them. It is also very - likely that the current MEM_SIZE won't be enough for these - test cases. Use realloc to adjust the size accordingly. - -2. Add test cases using this functions (implement them for both directions): +1. Add test cases using this functions (implement them for both directions): + memblock_alloc_raw() + memblock_alloc_exact_nid_raw() + memblock_alloc_try_nid_raw() -3. Add tests for memblock_alloc_node() to check if the correct NUMA node is set +2. Add tests for memblock_alloc_node() to check if the correct NUMA node is set for the new region