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: 32668 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2695721wrr; Tue, 13 Dec 2022 00:07:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf5JExMC68W4ek0Kdy3Zaxtju0AN3cwT38cFKzTI0VqTlzi4RqIigZCucgTseQX+SZpvWDik X-Received: by 2002:a17:906:55d5:b0:7c1:f64:61f1 with SMTP id z21-20020a17090655d500b007c10f6461f1mr14534656ejp.45.1670918842262; Tue, 13 Dec 2022 00:07:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670918842; cv=none; d=google.com; s=arc-20160816; b=ywf0NmL0ZFUcLy0kq1jKE8lAPjCbwmgXb/5V7G2YbzNlXdUIXMQaz1jTk9/gX69fwi CXh27LY2P3uFfRVDJ6NJXJ05fV/OWj7y1HAJ/8/6AqysgMyJCpEiIsmtxLtQwJA9YTHJ GNdFOGt5W0dViVlq5MUYyZKKPYNFYDZ5YP1gW9PGBsypDlK1lDC+hZdzor1eA/X7SD1b ODjabVnvrtoz7oW51wdh69U1n1IPmyoGMPOC8LDMiTYvJMfJCQrSS0CErN/4v3hwL6ZY Zu10McyTMqgkF0JJbOw8EMkSkR+dr8oZt+R1at4NuswKiOBAR9+G6mIFMrrEDwTcgwF2 sNZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=ZRS7YllcP3fIkAlLCiSmwTXeiS1W4ePf8M6nE52l9XA=; b=aM8x+C+0gXj373akPjsi5goCjS29canaFDYFpeLGtYL9FLUHFOqI1BR1X5BM4oCSQF 7YZpS/5H3QVxxczuv4aRCfKhuMRBsAfvGjIJh7btOmHhzkP/jTQtqnCl+Do2kaA9CoIN s4enibhfRXdAPpntIYYg5f8BXSr95+nDvIFwuNRHK08G4i6Wlg8WeAF/Mk7PqfzvYraI 0ZnbU5vhMhzQHfp5QT+oBFixFip12qQ34jmuMtGn2BtGvxpGMcKE++PcehwT/5t9qtz2 yqpnlmMttaMHuFM4sQDgW6luz+eg7olMyZ9aTlnZr+5fzu5tP5H2cDl+CACen/IfOhPh 7+Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X76ygUxJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a1709060e9100b007c1479b6a78si7144249ejf.816.2022.12.13.00.06.57; Tue, 13 Dec 2022 00:07:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X76ygUxJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234304AbiLMIAz (ORCPT + 99 others); Tue, 13 Dec 2022 03:00:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233935AbiLMIAn (ORCPT ); Tue, 13 Dec 2022 03:00:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AF2617AB4 for ; Tue, 13 Dec 2022 00:00:35 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id D29EA61357 for ; Tue, 13 Dec 2022 08:00:34 +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-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752085395821988238?= X-GMAIL-MSGID: =?utf-8?q?1752085395821988238?= 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