From patchwork Tue Dec 13 08:00:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13071771 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 5E338C4332F for ; Tue, 13 Dec 2022 08:00:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7D5DC8E0003; Tue, 13 Dec 2022 03:00:40 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 75F3D8E0002; Tue, 13 Dec 2022 03:00:40 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5FFBD8E0003; Tue, 13 Dec 2022 03:00:40 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 4D7978E0002 for ; Tue, 13 Dec 2022 03:00:40 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 1C450A0B1B for ; Tue, 13 Dec 2022 08:00:40 +0000 (UTC) X-FDA: 80236536240.29.8A5999D Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf16.hostedemail.com (Postfix) with ESMTP id 57A8E180020 for ; Tue, 13 Dec 2022 08:00:37 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=X76ygUxJ; spf=pass (imf16.hostedemail.com: domain of rppt@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1670918437; a=rsa-sha256; cv=none; b=IA7CTRMgt94wmW9dasdFWuY7Sn8Tft8iG0rVieyBp5/BdHZQQ4sDD+mrnMWjs2UK1Rh3zL HIBsuebB1KxxDzfl0EPvOOowI5j4lwxYpzRzNnlf0SIs+lVcFtzj+d+sMVlRfPh0rGMnk7 xj26xAi+s2fXqOnmXPtBaEecKKyiWWI= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=X76ygUxJ; spf=pass (imf16.hostedemail.com: domain of rppt@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1670918437; 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:in-reply-to: references:dkim-signature; bh=ZRS7YllcP3fIkAlLCiSmwTXeiS1W4ePf8M6nE52l9XA=; b=68pHgOMX21fLMtTwqY9iwIxXJpL1qkqOWtOQY4zinq+MX0YIWkDuy9YSJ2llNQN8tBmm33 sRFOyOkBEwh8gKf1frPt1c1cIVkP0IfUNsmE8JQVpdEOuyneNwbQVSyF+mSS1scaulo/VI CxGas68I+WspATOtQuPggiM/ZQMe0O0= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 398FBB808BB; Tue, 13 Dec 2022 08:00:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1533EC433EF; Tue, 13 Dec 2022 08:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670918434; bh=wmrczL6i5ek8KNk4nUN6DX8sToyA18W4TB1erQFFwS8=; h=Date:From:To:Cc:Subject:From; b=X76ygUxJV/hOD6HsMNAizo2p+sOy8X9im7UmLQFTuwSETKhAJrbNkIQ+GYd/axDDM SbGOgNlvNWoS3Pfmz2Dl1mZxkxb7LJdo0gVmQjHG2E6ZYBdnpF8lsuOshbKkXPmzkW IgaAWXRDqoPKv3DI+7Xi0Ej4ZKAtKW3S0pel+KEUUZZ50WsMiFHLPLg+J3riOC7BnN d2l23PimpVAHzX5HuR3QbkasIb0U8c6hZeOtRPNwDVBpeKMVF4a/r7SpGggmXK/4uE FZSXvR5/6oLbDGSoo/+vSUtKxz7HPKP0ifbwzN/o8a92sWQFuEBus5u1Fk0eG70Zba 2xod5zv4jDqrg== Date: Tue, 13 Dec 2022 10:00:18 +0200 From: Mike Rapoport To: Linus Torvalds Cc: David Hildenbrand , Mike Rapoport , Mike Rapoport , Rebecca Mckeever , Shaoqin Huang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] memblock updates for v6.2 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 57A8E180020 X-Stat-Signature: mw4em4ibbjou1me9hjkao3g9kafrsajy X-HE-Tag: 1670918437-639018 X-HE-Meta: U2FsdGVkX19oo/al0AuwZ4BD9kwSmUeoTbP/6uIkXYb7mHfe0P4gVandgbRwWkOaVjGNqxvdQShsnjp4M6avoar0loeHLqpe/OETcC43cMRyZ0fdbzbv1ryjeHuu28HzamY0e6KNXEaH2KGO/K9dvSxz4ZFXqF4k2LeRFCiV38AewU67T8bkIpm2R9M6i2I6nqU3WlV8kA3oO2CTk+PZ2uCiWpfc239Uyuo2QAWfesVgG7eNqILafhlajv4VX9D718N+7qKBwj4ph5phJvfK61TEnZfrRjQ7tPx6oqN0Vo8i7rRjXt9uT1eYJcWclITOiu2Zauyb6ihL5pZga1TG1yba3MQdYf1TdHvBHO9sqfZ5yPU7fiYODcshiSKi5x3GsXv8JGa0I892Dfhjep3APcgy9NbM9mNAYDwMjOFNWpWruGPpeYzW5ngPIVB1NynwalsNbUdyL7pxWdwgq5BpZVO7G0OaiC5xbAMGBekaGei3iB7LxS4tZUn496eZ6IU7KZpVtH6/aiuKnzYO3FhtTxf6DBWzMkDUmlu8JonwIYbg5lLwKhrKQmwnj/HPAvM5L0DM2gY1MA03YZ1fSQuRs7LNxkk0AckkVrgJPaGSCXpQ9hDfTBZrCd7UGaciIBhATv5pueJ/GFG2hI9y3x0eWgdOXx4IwsrWYJnM+AMo5E1vGS9vDCo3KstnzMXdZNBllbh8A0S31Yy0FGk1AeuS07o7ZkqYXO8ktzxvLGr3y8IB7wC7Y4tRBI/4Byxl4d2oq6mPIfwX8iCvciy0iRa+MICmsGW2PwIb5ewq9xSoYo2MiFBd4N2VWaqZAH9bO6lrKV3tm3ex7HY8iNr28Cg3Ir34iwqkGHvhMoVKtvc6R5C5VCBkNGRBsOsNVIB63G6QF3ATalgyOsac//I0eeP6KX4HkGq2sWtr5ggaflM3SPwslNqdJog2tRQ4PdAbZNuq1xXNGcyfqhwkD/sNhon hZbdts9I jv8ntBtLh8ne0N1VS2kQyrrU8wuwsjk0QkAs0 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: Hi Linus, The following changes since commit 30a0b95b1335e12efef89dd78518ed3e4a71a763: Linux 6.1-rc3 (2022-10-30 15:19:28 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.2-rc1 for you to fetch changes up to 80c2fe022ef5d29f3bafee90c37dbcff18cab57a: memblock tests: remove completed TODO item (2022-11-08 09:50:24 +0200) ---------------------------------------------------------------- memblock: extend test coverage * add tests that trigger reallocation of memblock structures from memblock itself via memblock_double_array() * add tests for memblock_alloc_exact_nid_raw() that verify that requested node and memory range constraints are respected. ---------------------------------------------------------------- Rebecca Mckeever (5): memblock tests: introduce range tests for memblock_alloc_exact_nid_raw memblock tests: add top-down NUMA tests for memblock_alloc_exact_nid_raw memblock tests: add bottom-up NUMA tests for memblock_alloc_exact_nid_raw memblock tests: add generic NUMA tests for memblock_alloc_exact_nid_raw memblock tests: remove completed TODO item Shaoqin Huang (3): memblock test: Add test to memblock_add() 129th region memblock test: Add test to memblock_reserve() 129th region memblock test: Update TODO list tools/testing/memblock/Makefile | 2 +- tools/testing/memblock/TODO | 14 +- tools/testing/memblock/main.c | 2 + tools/testing/memblock/tests/alloc_exact_nid_api.c | 1113 ++++++++++++++++++++ tools/testing/memblock/tests/alloc_exact_nid_api.h | 25 + tools/testing/memblock/tests/alloc_nid_api.c | 546 +++++----- tools/testing/memblock/tests/alloc_nid_api.h | 1 + tools/testing/memblock/tests/basic_api.c | 184 ++++ tools/testing/memblock/tests/common.c | 7 +- tools/testing/memblock/tests/common.h | 8 +- 10 files changed, 1622 insertions(+), 280 deletions(-) create mode 100644 tools/testing/memblock/tests/alloc_exact_nid_api.c create mode 100644 tools/testing/memblock/tests/alloc_exact_nid_api.h